{"api_version":"1","generated_at":"2026-08-15T08:46:03+00:00","cve":"CVE-2026-74400","urls":{"html":"https://cve.report/CVE-2026-74400","api":"https://cve.report/api/cve/CVE-2026-74400.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74400","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74400"},"summary":{"title":"bpf: fix crash in bpf_[set|remove]_dentry_xattr for negative dentries","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: fix crash in bpf_[set|remove]_dentry_xattr for negative dentries\n\nbpf_set_dentry_xattr and bpf_remove_dentry_xattr BPF kfuncs attempt to\nlock the inode of the supplied dentry without checking if it is\nNULL. If a negative dentry is passed (e.g. from\nsecurity_inode_create), d_inode(dentry) returns NULL, and\ninode_lock(inode) will cause a NULL pointer dereference.\n\nTrivially fix this by adding a NULL check for inode before attempting\nto lock it, returning -EINVAL if it is NULL.\n\nAdditionally, drop WARN_ON(!inode) in bpf_xattr_read_permission() and\nbpf_xattr_write_permission(). These warnings could be triggered by\npassing a negative dentry to bpf_get_dentry_xattr() or the _locked\nvariants of the xattr kfuncs, potentially causing a Denial of Service\non systems with panic_on_warn enabled. Instead, simply return -EINVAL.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:22:42","updated_at":"2026-08-15 06:22:42"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/e003f3a4be738f650e283e92d07017c3fef8da52","name":"https://git.kernel.org/stable/c/e003f3a4be738f650e283e92d07017c3fef8da52","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/07410646f6ff1d23222f105ccab778957d401bbe","name":"https://git.kernel.org/stable/c/07410646f6ff1d23222f105ccab778957d401bbe","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0160edf2af51c5fde742973742c5d10497901b21","name":"https://git.kernel.org/stable/c/0160edf2af51c5fde742973742c5d10497901b21","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74400","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74400","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 56467292794b800164df20c076c409ac548e56ec e003f3a4be738f650e283e92d07017c3fef8da52 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 56467292794b800164df20c076c409ac548e56ec 0160edf2af51c5fde742973742c5d10497901b21 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 56467292794b800164df20c076c409ac548e56ec 07410646f6ff1d23222f105ccab778957d401bbe git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/bpf_fs_kfuncs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e003f3a4be738f650e283e92d07017c3fef8da52","status":"affected","version":"56467292794b800164df20c076c409ac548e56ec","versionType":"git"},{"lessThan":"0160edf2af51c5fde742973742c5d10497901b21","status":"affected","version":"56467292794b800164df20c076c409ac548e56ec","versionType":"git"},{"lessThan":"07410646f6ff1d23222f105ccab778957d401bbe","status":"affected","version":"56467292794b800164df20c076c409ac548e56ec","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/bpf_fs_kfuncs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.15"},{"lessThan":"6.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.40","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.40","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc1","versionStartIncluding":"6.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: fix crash in bpf_[set|remove]_dentry_xattr for negative dentries\n\nbpf_set_dentry_xattr and bpf_remove_dentry_xattr BPF kfuncs attempt to\nlock the inode of the supplied dentry without checking if it is\nNULL. If a negative dentry is passed (e.g. from\nsecurity_inode_create), d_inode(dentry) returns NULL, and\ninode_lock(inode) will cause a NULL pointer dereference.\n\nTrivially fix this by adding a NULL check for inode before attempting\nto lock it, returning -EINVAL if it is NULL.\n\nAdditionally, drop WARN_ON(!inode) in bpf_xattr_read_permission() and\nbpf_xattr_write_permission(). These warnings could be triggered by\npassing a negative dentry to bpf_get_dentry_xattr() or the _locked\nvariants of the xattr kfuncs, potentially causing a Denial of Service\non systems with panic_on_warn enabled. Instead, simply return -EINVAL."}],"providerMetadata":{"dateUpdated":"2026-08-15T05:59:11.450Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e003f3a4be738f650e283e92d07017c3fef8da52"},{"url":"https://git.kernel.org/stable/c/0160edf2af51c5fde742973742c5d10497901b21"},{"url":"https://git.kernel.org/stable/c/07410646f6ff1d23222f105ccab778957d401bbe"}],"title":"bpf: fix crash in bpf_[set|remove]_dentry_xattr for negative dentries","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74400","datePublished":"2026-08-15T05:59:11.450Z","dateReserved":"2026-08-15T05:44:03.892Z","dateUpdated":"2026-08-15T05:59:11.450Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 06:22:42","lastModifiedDate":"2026-08-15 06:22:42","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74400","Ordinal":"1","Title":"bpf: fix crash in bpf_[set|remove]_dentry_xattr for negative den","CVE":"CVE-2026-74400","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74400","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: fix crash in bpf_[set|remove]_dentry_xattr for negative dentries\n\nbpf_set_dentry_xattr and bpf_remove_dentry_xattr BPF kfuncs attempt to\nlock the inode of the supplied dentry without checking if it is\nNULL. If a negative dentry is passed (e.g. from\nsecurity_inode_create), d_inode(dentry) returns NULL, and\ninode_lock(inode) will cause a NULL pointer dereference.\n\nTrivially fix this by adding a NULL check for inode before attempting\nto lock it, returning -EINVAL if it is NULL.\n\nAdditionally, drop WARN_ON(!inode) in bpf_xattr_read_permission() and\nbpf_xattr_write_permission(). These warnings could be triggered by\npassing a negative dentry to bpf_get_dentry_xattr() or the _locked\nvariants of the xattr kfuncs, potentially causing a Denial of Service\non systems with panic_on_warn enabled. Instead, simply return -EINVAL.","Type":"Description","Title":"bpf: fix crash in bpf_[set|remove]_dentry_xattr for negative den"}]}}}