FKIE_CVE-2026-143385

Vulnerability from fkie_nvd - Published: 2026-12-03 10:18 - Updated: 2026-12-03 10:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: 9p: fall back to the normal open path for non-regular files v9fs_vfs_atomic_open() and v9fs_vfs_atomic_open_dotl() call finish_open(file, dentry, generic_file_open) regardless of the file type the server reported for the created dentry. The supplied callback replaces f_op->open in do_dentry_open(), so blkdev_open() never runs for a server-reported device node: an open() with O_CREAT succeeds with f_op = def_blk_fops while f_mapping still points at the 9p inode, because the bdev mapping swap only happens inside blkdev_open(). The block file methods then derive their block_device from that inode with I_BDEV(); the loads land at the tail of a 656-byte v9fs_inode_cache object (offsets +624 and +632), which KASAN reports as slab-out-of-bounds, and the garbage they read is then dereferenced, so the first read(), write(), ioctl() or close() ends in a NULL pointer write and a panic. In the ioctl(BLKGETSIZE64) variant the value read this way is returned to userspace. The server controls the file type reported for the create, so a malicious server can crash the client this way. KASAN report of the read() variant, on a build of linux-stable 2709dd5ae32f: BUG: KASAN: slab-out-of-bounds in blkdev_read_iter+0x3cd/0x440 Read of size 8 at addr ffff88800828ceb0 by task repro/1 Call Trace: <TASK> dump_stack_lvl+0x7b/0xa0 print_report+0xd0/0x630 kasan_report+0xe5/0x120 blkdev_read_iter+0x3cd/0x440 vfs_read+0x718/0xa50 ksys_read+0x10f/0x200 do_syscall_64+0xdd/0x4a0 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> The buggy address belongs to the object at ffff88800828cc40 which belongs to the cache v9fs_inode_cache of size 656 The buggy address is located 624 bytes inside of allocated 656-byte region [ffff88800828cc40, ffff88800828ced0) A plain open() without O_CREAT is not affected: it runs blkdev_open() and either maps the device correctly or fails with -ENXIO for an rdev with no registered device. When the created inode is not a regular file, clunk the fid the create opened. The unopened fid is already on the dentry. Set FMODE_CREATED and return finish_no_open(file, NULL) so the VFS keeps its dentry reference and calls the inode's ->open. Regular files still use finish_open() with generic_file_open.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "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"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "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-\u003eopen 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 \u003cTASK\u003e\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 \u003c/TASK\u003e\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\u0027s -\u003eopen.\nRegular files still use finish_open() with generic_file_open."
    }
  ],
  "id": "CVE-2026-143385",
  "lastModified": "2026-12-03T10:18:31.887",
  "metrics": {},
  "published": "2026-12-03T10:18:31.887",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/72ab1bd143aad722b52425f26a64eeba4072de70"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/74234c84243d3b67648193364c2f22c47082f067"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/c4df44124ece4f0dc92b3c18598add65b4abf5b4"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/ff1baa01a6e1f24741f7428119e6f3a61b995604"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.