CVE-2026-98046
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2026-98046",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-09-25T11:17:33.440",
"lastModified": "2026-10-19T10:17:58.483",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Mark bpf_btf_find_by_name_kind() as sleepable\n\nWhen bpf_btf_find_by_name_kind() finds a type in module BTF, it\nreturns a new BTF object fd through __btf_new_fd(). This reaches\nanon_inode_getfd(), which can sleep while allocating or expanding the\ncurrent task fd table.\n\nThe helper prototype does not set might_sleep, so the verifier allows\nthe helper in non-sleepable contexts such as BPF timer callbacks. The\nfd allocation can then sleep in softirq context and install the fd into\nthe interrupted task.\n\nMark the helper as sleepable. This preserves calls from the main body\nof a sleepable syscall program while rejecting calls from its\nnon-sleepable regions."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"kernel/bpf/btf.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"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",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"kernel/bpf/btf.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "5.14",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.14",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.189",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.158",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.111",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.53",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.7",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/17f54a8f2b9714529d56edbbe12d448ccdbbf469",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/29e40175617216fbd4544529f6bfb51d1ab95ba1",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/4d8784226bd3c6a707975081f986078f40456cec",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/620614bf7672130c43b3cff375525a2202f61979",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/7bf23cf7c9c0e0b5e638e497cdc0ec3f223742cc",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/b843ab43ac9d2fa1ddd0dab8d0dcc19dbf764e2f",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}