CVEvulnerability
CVE-2026-98046
- Status
- Received
- Published
- 2026-09-25
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
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.
References
- https://git.kernel.org/stable/c/17f54a8f2b9714529d56edbbe12d448ccdbbf469 git.kernel.org
- https://git.kernel.org/stable/c/29e40175617216fbd4544529f6bfb51d1ab95ba1 git.kernel.org
- https://git.kernel.org/stable/c/4d8784226bd3c6a707975081f986078f40456cec git.kernel.org
- https://git.kernel.org/stable/c/620614bf7672130c43b3cff375525a2202f61979 git.kernel.org
- https://git.kernel.org/stable/c/7bf23cf7c9c0e0b5e638e497cdc0ec3f223742cc git.kernel.org
- https://git.kernel.org/stable/c/b843ab43ac9d2fa1ddd0dab8d0dcc19dbf764e2f git.kernel.org