# CVE-2026-74335: bpf: Fix NULL pointer dereference in bpf\_task\_from\_vpid()

> 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-26)
- **Published:** 2026-08-15T05:58:27.148Z
- **Modified:** 2026-08-17T06:19:27.990Z

## Who should check

- Anyone running Linux \>= 675c3596ff32c040d1dd2e28dd57e83e634b9f60, \< b7474f4432dd9559ada03b01a8cd3472cd02c61d; \>= 675c3596ff32c040d1dd2e28dd57e83e634b9f60, \< a4c95b6221cb2972a94ed72663c09bd5b0b6dea4; \>= 675c3596ff32c040d1dd2e28dd57e83e634b9f60, \< 50dff00615522f3ec03449680ca23beb4cfc549c
- Anyone running Linux 6.13

## Description

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

bpf: Fix NULL pointer dereference in bpf\_task\_from\_vpid()

bpf\_task\_from\_vpid() looks up a task in the pid namespace of the
current task, via find\_task\_by\_vpid():

  find\_task\_by\_vpid(vpid)
    find\_task\_by\_pid\_ns(vpid, task\_active\_pid\_ns(current))
      find\_pid\_ns(nr, ns) -\> idr\_find(&ns-\>idr, nr)

cgroup\_skb programs run in softirq, which may interrupt a task that is
itself in do\_exit(). Once that task has passed
exit\_notify() -\> release\_task() -\> \_\_unhash\_process(), its thread\_pid is
cleared, so task\_active\_pid\_ns(current) returns NULL and find\_pid\_ns()
dereferences &NULL-\>idr:

  BUG: kernel NULL pointer dereference, address: 0000000000000050
  RIP: 0010:idr\_find+0x11/0x30 lib/idr.c:176
  Call Trace:
   \<IRQ\>
   find\_pid\_ns kernel/pid.c:370 \[inline\]
   find\_task\_by\_pid\_ns+0x3b/0xe0 kernel/pid.c:485
   bpf\_task\_from\_vpid+0x5b/0x200 kernel/bpf/helpers.c:2916
   bpf\_prog\_run\_array\_cg+0x17e/0x530 kernel/bpf/cgroup.c:81
   \_\_cgroup\_bpf\_run\_filter\_skb+0x12b/0x250 kernel/bpf/cgroup.c:1612
   sk\_filter\_trim\_cap+0x1dc/0x4c0 net/core/filter.c:148
   tcp\_v4\_rcv+0x18d1/0x2200 net/ipv4/tcp\_ipv4.c:2223
   \</IRQ\>
   \<TASK\>
   do\_exit+0xa63/0x1270 kernel/exit.c:1010
   get\_signal+0x141c/0x1530 kernel/signal.c:3037

Bail out when current has no pid namespace.

## Affected and fixed versions

- Linux: \>= 675c3596ff32c040d1dd2e28dd57e83e634b9f60, \< b7474f4432dd9559ada03b01a8cd3472cd02c61d; \>= 675c3596ff32c040d1dd2e28dd57e83e634b9f60, \< a4c95b6221cb2972a94ed72663c09bd5b0b6dea4; \>= 675c3596ff32c040d1dd2e28dd57e83e634b9f60, \< 50dff00615522f3ec03449680ca23beb4cfc549c (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- Upgrade Linux to 50dff00615522f3ec03449680ca23beb4cfc549c 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-74335. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74335.md
Affected: Linux >= 675c3596ff32c040d1dd2e28dd57e83e634b9f60, < b7474f4432dd9559ada03b01a8cd3472cd02c61d; >= 675c3596ff32c040d1dd2e28dd57e83e634b9f60, < a4c95b6221cb2972a94ed72663c09bd5b0b6dea4; >= 675c3596ff32c040d1dd2e28dd57e83e634b9f60, < 50dff00615522f3ec03449680ca23beb4cfc549c; Linux 6.13
Fixed in: Linux 50dff00615522f3ec03449680ca23beb4cfc549c

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-74335 being exploited?

There is no confirmed exploitation: CVE-2026-74335 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-26).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 675c3596ff32c040d1dd2e28dd57e83e634b9f60, \< b7474f4432dd9559ada03b01a8cd3472cd02c61d; \>= 675c3596ff32c040d1dd2e28dd57e83e634b9f60, \< a4c95b6221cb2972a94ed72663c09bd5b0b6dea4; \>= 675c3596ff32c040d1dd2e28dd57e83e634b9f60, \< 50dff00615522f3ec03449680ca23beb4cfc549c; Linux 6.13.

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

Yes. Fixed in Linux 50dff00615522f3ec03449680ca23beb4cfc549c. Upgrade Linux to 50dff00615522f3ec03449680ca23beb4cfc549c or later.

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

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/b7474f4432dd9559ada03b01a8cd3472cd02c61d>
- other: <https://git.kernel.org/stable/c/a4c95b6221cb2972a94ed72663c09bd5b0b6dea4>
- other: <https://git.kernel.org/stable/c/50dff00615522f3ec03449680ca23beb4cfc549c>

## 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-74335>

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