{"id":"DEBIAN-CVE-2025-39974","details":"In the Linux kernel, the following vulnerability has been resolved:  tracing/osnoise: Fix slab-out-of-bounds in _parse_integer_limit()  When config osnoise cpus by write() syscall, the following KASAN splat may be observed:  BUG: KASAN: slab-out-of-bounds in _parse_integer_limit+0x103/0x130 Read of size 1 at addr ffff88810121e3a1 by task test/447 CPU: 1 UID: 0 PID: 447 Comm: test Not tainted 6.17.0-rc6-dirty #288 PREEMPT(voluntary) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Call Trace:  \u003cTASK\u003e  dump_stack_lvl+0x55/0x70  print_report+0xcb/0x610  kasan_report+0xb8/0xf0  _parse_integer_limit+0x103/0x130  bitmap_parselist+0x16d/0x6f0  osnoise_cpus_write+0x116/0x2d0  vfs_write+0x21e/0xcc0  ksys_write+0xee/0x1c0  do_syscall_64+0xa8/0x2a0  entry_SYSCALL_64_after_hwframe+0x77/0x7f  \u003c/TASK\u003e  This issue can be reproduced by below code:  const char *cpulist = \"1\"; int fd=open(\"/sys/kernel/debug/tracing/osnoise/cpus\", O_WRONLY); write(fd, cpulist, strlen(cpulist));  Function bitmap_parselist() was called to parse cpulist, it require that the parameter 'buf' must be terminated with a '\\0' or '\\n'. Fix this issue by adding a '\\0' to 'buf' in osnoise_cpus_write().","modified":"2026-09-01T20:05:43.575578976Z","published":"2025-10-15T08:15:35.153Z","upstream":["CVE-2025-39974"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-39974"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.16.10-1"}]}],"versions":["6.12.100-1","6.12.101-1","6.12.105-1","6.12.107-1","6.12.38-1","6.12.41-1","6.12.43-1","6.12.43-1~bpo12+1","6.12.48-1","6.12.57-1","6.12.57-1~bpo12+1","6.12.63-1","6.12.63-1~bpo12+1","6.12.69-1","6.12.69-1~bpo12+1","6.12.73-1","6.12.73-1~bpo12+1","6.12.74-1","6.12.74-2","6.12.74-2~bpo12+1","6.12.85-1","6.12.85-1~bpo12+1","6.12.86-1","6.12.86-1~bpo12+1","6.12.88-1","6.12.88-1~bpo12+1","6.12.90-1","6.12.90-1~bpo12+1","6.12.90-2","6.12.90-2~bpo12+1","6.12.94-1","6.12.94-1~bpo12+1","6.12.95-1","6.12.95-1~bpo12+1","6.12.96-1","6.13.10-1~exp1","6.13.11-1~exp1","6.13.2-1~exp1","6.13.3-1~exp1","6.13.4-1~exp1","6.13.5-1~exp1","6.13.6-1~exp1","6.13.7-1~exp1","6.13.8-1~exp1","6.13.9-1~exp1","6.13~rc6-1~exp1","6.13~rc7-1~exp1","6.14.3-1~exp1","6.14.5-1~exp1","6.14.6-1~exp1","6.15-1~exp1","6.15.1-1~exp1","6.15.2-1~exp1","6.15.3-1~exp1","6.15.4-1~exp1","6.15.5-1~exp1","6.15.6-1~exp1","6.15~rc7-1~exp1","6.16-1~exp1","6.16.1-1~exp1","6.16.3-1","6.16.3-1~bpo13+1","6.16.5-1","6.16.6-1","6.16.7-1","6.16.8-1","6.16.9-1","6.16~rc7-1~exp1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-39974.json"}}],"schema_version":"1.9.0"}