CVE-2026-98046

bpf: Mark bpf_btf_find_by_name_kind() as sleepable

State
Published
Severity
Not scored
Published
Sep 25, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3d78417b60fba249cc555468cb72d96f5cde2964 to before 7bf23cf7c9c0e0b5e638e497cdc0ec3f223742ccAffected
  • 3d78417b60fba249cc555468cb72d96f5cde2964 to before b843ab43ac9d2fa1ddd0dab8d0dcc19dbf764e2fAffected
  • 3d78417b60fba249cc555468cb72d96f5cde2964 to before 29e40175617216fbd4544529f6bfb51d1ab95ba1Affected
  • 3d78417b60fba249cc555468cb72d96f5cde2964 to before 4d8784226bd3c6a707975081f986078f40456cecAffected
  • 3d78417b60fba249cc555468cb72d96f5cde2964 to before 17f54a8f2b9714529d56edbbe12d448ccdbbf469Affected
  • 3d78417b60fba249cc555468cb72d96f5cde2964 to before 620614bf7672130c43b3cff375525a2202f61979Affected
LinuxLinux
  • 5.14Affected
  • before 5.14Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.