{"vuln_id":"CVE-2026-99421","aliases":["CVE-2026-100080","CVE-2026-100081","CVE-2026-100082","CVE-2026-89866","CVE-2026-92499","CVE-2026-98176","CVE-2026-98177","CVE-2026-98180","CVE-2026-98228","CVE-2026-98408","CVE-2026-98439","CVE-2026-98449","CVE-2026-98466","CVE-2026-98674","CVE-2026-98682","CVE-2026-98683","CVE-2026-98684","CVE-2026-98685","CVE-2026-98714","CVE-2026-98715","CVE-2026-98786","CVE-2026-98853","CVE-2026-98863","CVE-2026-98920","CVE-2026-98978","CVE-2026-98989","CVE-2026-98996","CVE-2026-99021","CVE-2026-99026","CVE-2026-99076","CVE-2026-99086","CVE-2026-99087","CVE-2026-99109","CVE-2026-99122","CVE-2026-99146","CVE-2026-99172","CVE-2026-99270","CVE-2026-99271","CVE-2026-99273","CVE-2026-99274","CVE-2026-99281","CVE-2026-99282","CVE-2026-99283","CVE-2026-99286","CVE-2026-99287","CVE-2026-99288","CVE-2026-99290","CVE-2026-99292","CVE-2026-99295","CVE-2026-99296"],"description":"kernel: kernel: overlayfs: Denial of Service via NULL pointer dereference during directory copy-up","published_at":"2026-11-19T14:40:23Z","modified_at":"2026-11-22T01:00:18.911319Z","first_seen_at":"2026-11-21T19:15:15.263131Z","severity":"medium","severity_source":"redhat","cvss_score":4.7,"cvss_vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-476"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00157,"epss_percentile":0.04858,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99421"},"matched_alias":null,"items":[{"id":11681,"source":{"id":"osv","name":"OSV.dev"},"title":"DEBIAN-CVE-2026-99421: In the Linux kernel, the following vulnerability has been resolved: ovl: always encode the origin fh when index is enabled On an overlay with index=on,nfs_expo…","summary":"In the Linux kernel, the following vulnerability has been resolved:  ovl: always encode the origin fh when index is enabled  On an overlay with index=on,nfs_export=on, copy up of a directory crashes the kernel once an LSM has started to deny CAP_DAC_READ_SEARCH to the mounter, the task that mounted the overlay. The mount and the LSM policy change require root. After that, any user who can write to a directory that exists only in a lower layer triggers the oops by doing so.  Before a file or directory that exists only in a lower layer is changed for the first time, overlayfs copies it to the writable upper layer. This is called copy up.  On copy up, ovl_get_origin_fh() encodes the file handle of the lower inode, called the origin. It returns NULL if ovl_can_decode_fh() says that the lower filesystem cannot decode handles. Whether the callers can handle NULL depends on the index option:  - Without an index, NULL is fine: the callers store an empty origin   xattr. - With index enabled, overlayfs keeps entries for copied up inodes in an   internal index directory. The name of an index entry is derived from   the handle, so ovl_get_origin_fh() must return a handle or an error.  The mount only enables the index if ovl_can_decode_fh() succeeds for all layers, but the result can change later. The function checks the export operations of the filesystem and capable(CAP_DAC_READ_SEARCH). Copy up runs with the mounter's credentials, and an LSM can start to deny the capability to those credentials after the mount. ovl_get_origin_fh() then returns NULL with index enabled.  This goes wrong in two callers:  - With nfs_export=on, copy up of a directory creates an index entry for   the directory. ovl_create_index() passes the NULL handle to   ovl_get_index_name_fh(), which dereferences it. - If the result changes while mount(2) is still running,   ovl_get_indexdir() passes a NULL from ovl_get_origin_fh() to   ovl_verify_set_fh() in the same way.  Before the commit in the Fixes tag, these two callers encoded the handle themselves, without consulting ovl_can_decode_fh().  Reproduced with a BPF LSM program that started to deny the capability after the mount. An unprivileged touch in a directory that had not been copied up yet oopsed in ovl_get_index_name_fh(). With this patch the touch succeeds and the directory gets its index entry.  Fix this by calling ovl_can_decode_fh() in ovl_get_origin_fh() only when index is disabled.\n\nAffected: Debian:12:linux-6.12, Debian:13:linux, Debian:14:linux\n\nFixed in: 6.12.117-1, 7.3.3-1, 6.12.117-1~deb12u1\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2026-99421","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-99421","published_at":"2026-11-19T15:17:54.990000Z","updated_at":"2026-11-22T01:00:18.911319Z","fetched_at":"2026-11-22T08:08:55.103978Z","severity":"medium","cvss_score":4.7,"epss":0.00157,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":"12:linux-6.12","vuln_id":"CVE-2026-99421","vuln_ids":["CVE-2026-100080","CVE-2026-100081","CVE-2026-100082","CVE-2026-89866","CVE-2026-92499","CVE-2026-98176","CVE-2026-98177","CVE-2026-98180","CVE-2026-98228","CVE-2026-98408","CVE-2026-98439","CVE-2026-98449","CVE-2026-98466","CVE-2026-98674","CVE-2026-98682","CVE-2026-98683","CVE-2026-98684","CVE-2026-98685","CVE-2026-98714","CVE-2026-98715","CVE-2026-98786","CVE-2026-98853","CVE-2026-98863","CVE-2026-98920","CVE-2026-98978","CVE-2026-98989","CVE-2026-98996","CVE-2026-99021","CVE-2026-99026","CVE-2026-99076","CVE-2026-99086","CVE-2026-99087","CVE-2026-99109","CVE-2026-99122","CVE-2026-99146","CVE-2026-99172","CVE-2026-99270","CVE-2026-99271","CVE-2026-99273","CVE-2026-99274","CVE-2026-99281","CVE-2026-99282","CVE-2026-99283","CVE-2026-99286","CVE-2026-99287","CVE-2026-99288","CVE-2026-99290","CVE-2026-99292","CVE-2026-99295","CVE-2026-99296","CVE-2026-99421","DEBIAN-CVE-2026-99421"],"tags":["osv","debian","fix-available"],"cluster_id":999,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11681","html":"https://vulnwatch.ve1ve2.com/item/11681"}},{"id":8753,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-99421: In the Linux kernel, the following vulnerability has been resolved: ovl: always encode the origin fh when index is enabled On an overlay with index=on,nfs_expo…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: always encode the origin fh when index is enabled\n\nOn an overlay with index=on,nfs_export=on, copy up of a directory\ncrashes the kernel once an LSM has started to deny CAP_DAC_READ_SEARCH\nto the mounter, the task that mounted the overlay. The mount and the LSM\npolicy change require root. After that, any user who can write to a\ndirectory that exists only in a lower layer triggers the oops by doing\nso.\n\nBefore a file or directory that exists only in a lower layer is changed\nfor the first time, overlayfs copies it to the writable upper layer.\nThis is called copy up.\n\nOn copy up, ovl_get_origin_fh() encodes the file handle of the lower\ninode, called the origin. It returns NULL if ovl_can_decode_fh() says\nthat the lower filesystem cannot decode handles. Whether the callers can\nhandle NULL depends on the index option:\n\n- Without an index, NULL is fine: the callers store an empty origin\n  xattr.\n- With index enabled, overlayfs keeps entries for copied up inodes in an\n  internal index directory. The name of an index entry is derived from\n  the handle, so ovl_get_origin_fh() must return a handle or an error.\n\nThe mount only enables the index if ovl_can_decode_fh() succeeds for all\nlayers, but the result can change later. The function checks the export\noperations of the filesystem and capable(CAP_DAC_READ_SEARCH). Copy up\nruns with the mounter's credentials, and an LSM can start to deny the\ncapability to those credentials after the mount. ovl_get_origin_fh()\nthen returns NULL with index enabled.\n\nThis goes wrong in two callers:\n\n- With nfs_export=on, copy up of a directory creates an index entry for\n  the directory. ovl_create_index() passes the NULL handle to\n  ovl_get_index_name_fh(), which dereferences it.\n- If the result changes while mount(2) is still running,\n  ovl_get_indexdir() passes a NULL from ovl_get_origin_fh() to\n  ovl_verify_set_fh() in the same way.\n\nBefore the commit in the Fixes tag, these two callers encoded the handle\nthemselves, without consulting ovl_can_decode_fh().\n\nReproduced with a BPF LSM program that started to deny the capability\nafter the mount. An unprivileged touch in a directory that had not been\ncopied up yet oopsed in ovl_get_index_name_fh(). With this patch the\ntouch succeeds and the directory gets its index entry.\n\nFix this by calling ovl_can_decode_fh() in ovl_get_origin_fh() only when\nindex is disabled.\n\nReferences:\nhttps://git.kernel.org/stable/c/1795ca6571199008f67afa9e88cddf199ddde9ca\nhttps://git.kernel.org/stable/c/4a58c0d62bd23173dee3f337f623d3e14b6c9dd4\nhttps://git.kernel.org/stable/c/5ccb1e71dfea95a9789967c34d68a2b7c048303e\nhttps://git.kernel.org/stable/c/949f9d8a5580c77a45fa759123367682aba4d173\nhttps://git.kernel.org/stable/c/b050952bc4e3409c655a4abcd987131bd77ef570","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99421","published_at":"2026-11-19T15:17:54.990000Z","updated_at":"2026-11-19T15:17:54.990000Z","fetched_at":"2026-11-21T19:15:31.484456Z","severity":"medium","cvss_score":4.7,"epss":0.00157,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-99421","vuln_ids":["CVE-2026-100080","CVE-2026-100081","CVE-2026-100082","CVE-2026-89866","CVE-2026-92499","CVE-2026-98176","CVE-2026-98177","CVE-2026-98180","CVE-2026-98228","CVE-2026-98408","CVE-2026-98439","CVE-2026-98449","CVE-2026-98466","CVE-2026-98674","CVE-2026-98682","CVE-2026-98683","CVE-2026-98684","CVE-2026-98685","CVE-2026-98714","CVE-2026-98715","CVE-2026-98786","CVE-2026-98853","CVE-2026-98863","CVE-2026-98920","CVE-2026-98978","CVE-2026-98989","CVE-2026-98996","CVE-2026-99021","CVE-2026-99026","CVE-2026-99076","CVE-2026-99086","CVE-2026-99087","CVE-2026-99109","CVE-2026-99122","CVE-2026-99146","CVE-2026-99172","CVE-2026-99270","CVE-2026-99271","CVE-2026-99273","CVE-2026-99274","CVE-2026-99281","CVE-2026-99282","CVE-2026-99283","CVE-2026-99286","CVE-2026-99287","CVE-2026-99288","CVE-2026-99290","CVE-2026-99292","CVE-2026-99295","CVE-2026-99296","CVE-2026-99421"],"tags":[],"cluster_id":999,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8753","html":"https://vulnwatch.ve1ve2.com/item/8753"}},{"id":1265,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-99421: kernel: kernel: overlayfs: Denial of Service via NULL pointer dereference during directory copy-up","summary":"kernel: kernel: overlayfs: Denial of Service via NULL pointer dereference during directory copy-up","url":"https://access.redhat.com/security/cve/cve-2026-99421","published_at":"2026-11-19T14:40:23Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.894162Z","severity":"medium","cvss_score":4.7,"epss":0.00157,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-99421","vuln_ids":["CVE-2026-100080","CVE-2026-100081","CVE-2026-100082","CVE-2026-89866","CVE-2026-92499","CVE-2026-98176","CVE-2026-98177","CVE-2026-98180","CVE-2026-98228","CVE-2026-98408","CVE-2026-98439","CVE-2026-98449","CVE-2026-98466","CVE-2026-98674","CVE-2026-98682","CVE-2026-98683","CVE-2026-98684","CVE-2026-98685","CVE-2026-98714","CVE-2026-98715","CVE-2026-98786","CVE-2026-98853","CVE-2026-98863","CVE-2026-98920","CVE-2026-98978","CVE-2026-98989","CVE-2026-98996","CVE-2026-99021","CVE-2026-99026","CVE-2026-99076","CVE-2026-99086","CVE-2026-99087","CVE-2026-99109","CVE-2026-99122","CVE-2026-99146","CVE-2026-99172","CVE-2026-99270","CVE-2026-99271","CVE-2026-99273","CVE-2026-99274","CVE-2026-99281","CVE-2026-99282","CVE-2026-99283","CVE-2026-99286","CVE-2026-99287","CVE-2026-99288","CVE-2026-99290","CVE-2026-99292","CVE-2026-99295","CVE-2026-99296","CVE-2026-99421"],"tags":["redhat"],"cluster_id":999,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/1265","html":"https://vulnwatch.ve1ve2.com/item/1265"}}]}