CVE Catalog

CVE-2026-98046

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel's BPF subsystem, bpf_btf_find_by_name_kind() returns a new BTF object fd through __btf_new_fd(), which reaches anon_inode_getfd() that 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.

Risk Assessment

Sleeping in softirq context during file descriptor allocation can lead to system hangs, kernel state corruption, or installing the fd into the interrupted task.

Recommendation

Update the Linux kernel to a version with the fix that marks bpf_btf_find_by_name_kind() as sleepable, preserving calls from the main body of a sleepable syscall program while rejecting calls from its non-sleepable regions.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS