Lucene search
K

CVE-2024-40913 cachefiles: defer exposing anon_fd until after copy_to_user() succeeds

🗓️ 12 Jul 2024 12:24:57Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 23 Views

cachefiles: fix cache UAF by deferring exposing anon_fd until after successful copy_to_user(

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/cachefiles/ondemand.c"
    ],
    "versions": [
      {
        "version": "c8383054506c77b814489c09877b5db83fd4abf2",
        "lessThan": "eac51d9daacd61dcc93333ff6a890cf3efc8c1c0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c8383054506c77b814489c09877b5db83fd4abf2",
        "lessThan": "d2d3eb377a5d081bf2bed177d354a4f59b74da88",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c8383054506c77b814489c09877b5db83fd4abf2",
        "lessThan": "b9f58cdae6a364a3270fd6b6a46e0fd4f7f8ce32",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c8383054506c77b814489c09877b5db83fd4abf2",
        "lessThan": "4b4391e77a6bf24cba2ef1590e113d9b73b11039",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/cachefiles/ondemand.c"
    ],
    "versions": [
      {
        "version": "5.19",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.19",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.1.95",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.6.35",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.9.6",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation