# CVE-2026-98046: bpf: Mark bpf_btf_find_by_name_kind() as sleepable

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-09-25T10:23:56.691Z
- Modified: 2026-10-19T10:17:58.483Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 3d78417b60fba249cc555468cb72d96f5cde2964 before 7bf23cf7c9c0e0b5e638e497cdc0ec3f223742cc; from 3d78417b60fba249cc555468cb72d96f5cde2964 before b843ab43ac9d2fa1ddd0dab8d0dcc19dbf764e2f; from 3d78417b60fba249cc555468cb72d96f5cde2964 before 29e40175617216fbd4544529f6bfb51d1ab95ba1; from 3d78417b60fba249cc555468cb72d96f5cde2964 before 4d8784226bd3c6a707975081f986078f40456cec; from 3d78417b60fba249cc555468cb72d96f5cde2964 before 17f54a8f2b9714529d56edbbe12d448ccdbbf469; from 3d78417b60fba249cc555468cb72d96f5cde2964 before 620614bf7672130c43b3cff375525a2202f61979; 5.14 (not affected: before 5.14; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

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

## Sources

- CVE List: [CVE-2026-98046](https://www.cve.org/CVERecord?id=CVE-2026-98046), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98046](https://nvd.nist.gov/vuln/detail/CVE-2026-98046), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98046 · Whole record: https://cve.day/CVE-2026-98046.json · Rebuilt by cve.day 2026-11-25T22:59:41.035Z
