{"api_version":"1","generated_at":"2026-12-03T15:43:17+00:00","cve":"CVE-2026-143385","urls":{"html":"https://cve.report/CVE-2026-143385","api":"https://cve.report/api/cve/CVE-2026-143385.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143385","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143385"},"summary":{"title":"9p: fall back to the normal open path for non-regular files","description":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p: fall back to the normal open path for non-regular files\n\nv9fs_vfs_atomic_open() and v9fs_vfs_atomic_open_dotl() call\nfinish_open(file, dentry, generic_file_open) regardless of the file\ntype the server reported for the created dentry.  The supplied\ncallback replaces f_op->open in do_dentry_open(), so blkdev_open()\nnever runs for a server-reported device node: an open() with O_CREAT\nsucceeds with f_op = def_blk_fops while f_mapping still points at the\n9p inode, because the bdev mapping swap only happens inside\nblkdev_open().  The block file methods then derive their block_device\nfrom that inode with I_BDEV(); the loads land at the tail of a\n656-byte v9fs_inode_cache object (offsets +624 and +632), which KASAN\nreports as slab-out-of-bounds, and the garbage they read is then\ndereferenced, so the first read(), write(), ioctl() or close() ends\nin a NULL pointer write and a panic.  In the ioctl(BLKGETSIZE64)\nvariant the value read this way is returned to userspace.\n\nThe server controls the file type reported for the create, so a\nmalicious server can crash the client this way.  KASAN report of the\nread() variant, on a build of linux-stable 2709dd5ae32f:\n\nBUG: KASAN: slab-out-of-bounds in blkdev_read_iter+0x3cd/0x440\nRead of size 8 at addr ffff88800828ceb0 by task repro/1\n\nCall Trace:\n <TASK>\n dump_stack_lvl+0x7b/0xa0\n print_report+0xd0/0x630\n kasan_report+0xe5/0x120\n blkdev_read_iter+0x3cd/0x440\n vfs_read+0x718/0xa50\n ksys_read+0x10f/0x200\n do_syscall_64+0xdd/0x4a0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n </TASK>\n\nThe buggy address belongs to the object at ffff88800828cc40\n which belongs to the cache v9fs_inode_cache of size 656\nThe buggy address is located 624 bytes inside of\n allocated 656-byte region [ffff88800828cc40, ffff88800828ced0)\n\nA plain open() without O_CREAT is not affected: it runs blkdev_open()\nand either maps the device correctly or fails with -ENXIO for an rdev\nwith no registered device.  When the created inode is not a regular\nfile, clunk the fid the create opened.  The unopened fid is already\non the dentry.  Set FMODE_CREATED and return finish_no_open(file, NULL)\nso the VFS keeps its dentry reference and calls the inode's ->open.\nRegular files still use finish_open() with generic_file_open.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:31","updated_at":"2026-12-03 10:18:31"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/72ab1bd143aad722b52425f26a64eeba4072de70","name":"https://git.kernel.org/stable/c/72ab1bd143aad722b52425f26a64eeba4072de70","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c4df44124ece4f0dc92b3c18598add65b4abf5b4","name":"https://git.kernel.org/stable/c/c4df44124ece4f0dc92b3c18598add65b4abf5b4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/74234c84243d3b67648193364c2f22c47082f067","name":"https://git.kernel.org/stable/c/74234c84243d3b67648193364c2f22c47082f067","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ff1baa01a6e1f24741f7428119e6f3a61b995604","name":"https://git.kernel.org/stable/c/ff1baa01a6e1f24741f7428119e6f3a61b995604","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143385","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143385","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected be12af3ef5e61ebc44d065e121424ac605d7bb8e 72ab1bd143aad722b52425f26a64eeba4072de70 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected be12af3ef5e61ebc44d065e121424ac605d7bb8e 74234c84243d3b67648193364c2f22c47082f067 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected be12af3ef5e61ebc44d065e121424ac605d7bb8e c4df44124ece4f0dc92b3c18598add65b4abf5b4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected be12af3ef5e61ebc44d065e121424ac605d7bb8e ff1baa01a6e1f24741f7428119e6f3a61b995604 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/9p/vfs_inode.c","fs/9p/vfs_inode_dotl.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"72ab1bd143aad722b52425f26a64eeba4072de70","status":"affected","version":"be12af3ef5e61ebc44d065e121424ac605d7bb8e","versionType":"git"},{"lessThan":"74234c84243d3b67648193364c2f22c47082f067","status":"affected","version":"be12af3ef5e61ebc44d065e121424ac605d7bb8e","versionType":"git"},{"lessThan":"c4df44124ece4f0dc92b3c18598add65b4abf5b4","status":"affected","version":"be12af3ef5e61ebc44d065e121424ac605d7bb8e","versionType":"git"},{"lessThan":"ff1baa01a6e1f24741f7428119e6f3a61b995604","status":"affected","version":"be12af3ef5e61ebc44d065e121424ac605d7bb8e","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/9p/vfs_inode.c","fs/9p/vfs_inode_dotl.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.19"},{"lessThan":"4.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"4.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p: fall back to the normal open path for non-regular files\n\nv9fs_vfs_atomic_open() and v9fs_vfs_atomic_open_dotl() call\nfinish_open(file, dentry, generic_file_open) regardless of the file\ntype the server reported for the created dentry.  The supplied\ncallback replaces f_op->open in do_dentry_open(), so blkdev_open()\nnever runs for a server-reported device node: an open() with O_CREAT\nsucceeds with f_op = def_blk_fops while f_mapping still points at the\n9p inode, because the bdev mapping swap only happens inside\nblkdev_open().  The block file methods then derive their block_device\nfrom that inode with I_BDEV(); the loads land at the tail of a\n656-byte v9fs_inode_cache object (offsets +624 and +632), which KASAN\nreports as slab-out-of-bounds, and the garbage they read is then\ndereferenced, so the first read(), write(), ioctl() or close() ends\nin a NULL pointer write and a panic.  In the ioctl(BLKGETSIZE64)\nvariant the value read this way is returned to userspace.\n\nThe server controls the file type reported for the create, so a\nmalicious server can crash the client this way.  KASAN report of the\nread() variant, on a build of linux-stable 2709dd5ae32f:\n\nBUG: KASAN: slab-out-of-bounds in blkdev_read_iter+0x3cd/0x440\nRead of size 8 at addr ffff88800828ceb0 by task repro/1\n\nCall Trace:\n <TASK>\n dump_stack_lvl+0x7b/0xa0\n print_report+0xd0/0x630\n kasan_report+0xe5/0x120\n blkdev_read_iter+0x3cd/0x440\n vfs_read+0x718/0xa50\n ksys_read+0x10f/0x200\n do_syscall_64+0xdd/0x4a0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n </TASK>\n\nThe buggy address belongs to the object at ffff88800828cc40\n which belongs to the cache v9fs_inode_cache of size 656\nThe buggy address is located 624 bytes inside of\n allocated 656-byte region [ffff88800828cc40, ffff88800828ced0)\n\nA plain open() without O_CREAT is not affected: it runs blkdev_open()\nand either maps the device correctly or fails with -ENXIO for an rdev\nwith no registered device.  When the created inode is not a regular\nfile, clunk the fid the create opened.  The unopened fid is already\non the dentry.  Set FMODE_CREATED and return finish_no_open(file, NULL)\nso the VFS keeps its dentry reference and calls the inode's ->open.\nRegular files still use finish_open() with generic_file_open."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:22:30.269Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/72ab1bd143aad722b52425f26a64eeba4072de70"},{"url":"https://git.kernel.org/stable/c/74234c84243d3b67648193364c2f22c47082f067"},{"url":"https://git.kernel.org/stable/c/c4df44124ece4f0dc92b3c18598add65b4abf5b4"},{"url":"https://git.kernel.org/stable/c/ff1baa01a6e1f24741f7428119e6f3a61b995604"}],"title":"9p: fall back to the normal open path for non-regular files","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143385","datePublished":"2026-12-03T09:22:30.269Z","dateReserved":"2026-12-03T03:10:28.372Z","dateUpdated":"2026-12-03T09:22:30.269Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:31","lastModifiedDate":"2026-12-03 10:18:31","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143385","Ordinal":"1","Title":"9p: fall back to the normal open path for non-regular files","CVE":"CVE-2026-143385","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143385","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p: fall back to the normal open path for non-regular files\n\nv9fs_vfs_atomic_open() and v9fs_vfs_atomic_open_dotl() call\nfinish_open(file, dentry, generic_file_open) regardless of the file\ntype the server reported for the created dentry.  The supplied\ncallback replaces f_op->open in do_dentry_open(), so blkdev_open()\nnever runs for a server-reported device node: an open() with O_CREAT\nsucceeds with f_op = def_blk_fops while f_mapping still points at the\n9p inode, because the bdev mapping swap only happens inside\nblkdev_open().  The block file methods then derive their block_device\nfrom that inode with I_BDEV(); the loads land at the tail of a\n656-byte v9fs_inode_cache object (offsets +624 and +632), which KASAN\nreports as slab-out-of-bounds, and the garbage they read is then\ndereferenced, so the first read(), write(), ioctl() or close() ends\nin a NULL pointer write and a panic.  In the ioctl(BLKGETSIZE64)\nvariant the value read this way is returned to userspace.\n\nThe server controls the file type reported for the create, so a\nmalicious server can crash the client this way.  KASAN report of the\nread() variant, on a build of linux-stable 2709dd5ae32f:\n\nBUG: KASAN: slab-out-of-bounds in blkdev_read_iter+0x3cd/0x440\nRead of size 8 at addr ffff88800828ceb0 by task repro/1\n\nCall Trace:\n <TASK>\n dump_stack_lvl+0x7b/0xa0\n print_report+0xd0/0x630\n kasan_report+0xe5/0x120\n blkdev_read_iter+0x3cd/0x440\n vfs_read+0x718/0xa50\n ksys_read+0x10f/0x200\n do_syscall_64+0xdd/0x4a0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n </TASK>\n\nThe buggy address belongs to the object at ffff88800828cc40\n which belongs to the cache v9fs_inode_cache of size 656\nThe buggy address is located 624 bytes inside of\n allocated 656-byte region [ffff88800828cc40, ffff88800828ced0)\n\nA plain open() without O_CREAT is not affected: it runs blkdev_open()\nand either maps the device correctly or fails with -ENXIO for an rdev\nwith no registered device.  When the created inode is not a regular\nfile, clunk the fid the create opened.  The unopened fid is already\non the dentry.  Set FMODE_CREATED and return finish_no_open(file, NULL)\nso the VFS keeps its dentry reference and calls the inode's ->open.\nRegular files still use finish_open() with generic_file_open.","Type":"Description","Title":"9p: fall back to the normal open path for non-regular files"}]}}}