# CVE-2026-74400: bpf: fix crash in bpf\_\[set\|remove\]\_dentry\_xattr for negative dentries

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-29)
- **Published:** 2026-08-15T05:59:11.450Z
- **Modified:** 2026-08-17T06:19:35.183Z

## Who should check

- Anyone running Linux \>= 56467292794b800164df20c076c409ac548e56ec, \< e003f3a4be738f650e283e92d07017c3fef8da52; \>= 56467292794b800164df20c076c409ac548e56ec, \< 0160edf2af51c5fde742973742c5d10497901b21; \>= 56467292794b800164df20c076c409ac548e56ec, \< 07410646f6ff1d23222f105ccab778957d401bbe
- Anyone running Linux 6.15

## Description

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

bpf: fix crash in bpf\_\[set\|remove\]\_dentry\_xattr for negative dentries

bpf\_set\_dentry\_xattr and bpf\_remove\_dentry\_xattr BPF kfuncs attempt to
lock the inode of the supplied dentry without checking if it is
NULL. If a negative dentry is passed (e.g. from
security\_inode\_create), d\_inode(dentry) returns NULL, and
inode\_lock(inode) will cause a NULL pointer dereference.

Trivially fix this by adding a NULL check for inode before attempting
to lock it, returning -EINVAL if it is NULL.

Additionally, drop WARN\_ON(!inode) in bpf\_xattr\_read\_permission() and
bpf\_xattr\_write\_permission(). These warnings could be triggered by
passing a negative dentry to bpf\_get\_dentry\_xattr() or the \_locked
variants of the xattr kfuncs, potentially causing a Denial of Service
on systems with panic\_on\_warn enabled. Instead, simply return -EINVAL.

## Affected and fixed versions

- Linux: \>= 56467292794b800164df20c076c409ac548e56ec, \< e003f3a4be738f650e283e92d07017c3fef8da52; \>= 56467292794b800164df20c076c409ac548e56ec, \< 0160edf2af51c5fde742973742c5d10497901b21; \>= 56467292794b800164df20c076c409ac548e56ec, \< 07410646f6ff1d23222f105ccab778957d401bbe (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 07410646f6ff1d23222f105ccab778957d401bbe or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74400. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74400.md
Affected: Linux >= 56467292794b800164df20c076c409ac548e56ec, < e003f3a4be738f650e283e92d07017c3fef8da52; >= 56467292794b800164df20c076c409ac548e56ec, < 0160edf2af51c5fde742973742c5d10497901b21; >= 56467292794b800164df20c076c409ac548e56ec, < 07410646f6ff1d23222f105ccab778957d401bbe; Linux 6.15
Fixed in: Linux 0160edf2af51c5fde742973742c5d10497901b21, Linux 07410646f6ff1d23222f105ccab778957d401bbe

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74400 being exploited?

There is no confirmed exploitation: CVE-2026-74400 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-74400?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74400?

Linux \>= 56467292794b800164df20c076c409ac548e56ec, \< e003f3a4be738f650e283e92d07017c3fef8da52; \>= 56467292794b800164df20c076c409ac548e56ec, \< 0160edf2af51c5fde742973742c5d10497901b21; \>= 56467292794b800164df20c076c409ac548e56ec, \< 07410646f6ff1d23222f105ccab778957d401bbe; Linux 6.15.

### Is there a fix for CVE-2026-74400?

Yes. Fixed in Linux 0160edf2af51c5fde742973742c5d10497901b21, Linux 07410646f6ff1d23222f105ccab778957d401bbe. Upgrade Linux to 07410646f6ff1d23222f105ccab778957d401bbe or later.

### How do I check if I'm affected by CVE-2026-74400?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e003f3a4be738f650e283e92d07017c3fef8da52>
- other: <https://git.kernel.org/stable/c/0160edf2af51c5fde742973742c5d10497901b21>
- other: <https://git.kernel.org/stable/c/07410646f6ff1d23222f105ccab778957d401bbe>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74400>

HTML: <https://flawdb.com/CVE-2026-74400> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74400>
