bpf: Mark bpf_btf_find_by_name_kind() as sleepable
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.
CVE-2026-98046
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98046
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3d78417b60fba249cc555468cb72d96f5cde2964",
"lessThan": "7bf23cf7c9c0e0b5e638e497cdc0ec3f223742cc",
"versionType": "git"
},
{
"status": "affected",
"version": "3d78417b60fba249cc555468cb72d96f5cde2964",
"lessThan": "b843ab43ac9d2fa1ddd0dab8d0dcc19dbf764e2f",
"versionType": "git"
},
{
"status": "affected",
"version": "3d78417b60fba249cc555468cb72d96f5cde2964",
"lessThan": "29e40175617216fbd4544529f6bfb51d1ab95ba1",
"versionType": "git"
},
{
"status": "affected",
"version": "3d78417b60fba249cc555468cb72d96f5cde2964",
"lessThan": "4d8784226bd3c6a707975081f986078f40456cec",
"versionType": "git"
},
{
"status": "affected",
"version": "3d78417b60fba249cc555468cb72d96f5cde2964",
"lessThan": "17f54a8f2b9714529d56edbbe12d448ccdbbf469",
"versionType": "git"
},
{
"status": "affected",
"version": "3d78417b60fba249cc555468cb72d96f5cde2964",
"lessThan": "620614bf7672130c43b3cff375525a2202f61979",
"versionType": "git"
}
],
"programFiles": [
"kernel/bpf/btf.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.14"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.14",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.189",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"kernel/bpf/btf.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98046
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #38163 · Revision 1
- Added to Heist Feed
- Publisher date