Lucene search

K
cvelistLinuxCVELIST:CVE-2024-46801
HistorySep 18, 2024 - 7:12 a.m.

CVE-2024-46801 libfs: fix get_stashed_dentry()

2024-09-1807:12:55
Linux
www.cve.org
1
linux kernel
libfs
get_stashed_dentry
uaf issues
rcu lock

EPSS

0

Percentile

9.6%

In the Linux kernel, the following vulnerability has been resolved:

libfs: fix get_stashed_dentry()

get_stashed_dentry() tries to optimistically retrieve a stashed dentry
from a provided location. It needs to ensure to hold rcu lock before it
dereference the stashed location to prevent UAF issues. Use
rcu_dereference() instead of READ_ONCE() it’s effectively equivalent
with some lockdep bells and whistles and it communicates clearly that
this expects rcu protection.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/libfs.c"
    ],
    "versions": [
      {
        "version": "07fd7c329839",
        "lessThan": "03e2a1209a83",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "07fd7c329839",
        "lessThan": "4e32c25b58b9",
        "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/libfs.c"
    ],
    "versions": [
      {
        "version": "6.9",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.9",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.10",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.6%

Related for CVELIST:CVE-2024-46801