CVE-2026-53096
bpf: Use RCU-safe iteration in dev_map_redirect_multi() SKB path
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Use RCU-safe iteration in dev_map_redirect_multi() SKB path The DEVMAP_HASH branch in dev_map_redirect_multi() uses hlist_for_each_entry_safe() to iterate hash buckets, but this function runs under RCU protection (called from xdp_do_generic_redirect_map() in softirq context). Concurrent writers (__dev_map_hash_update_elem, dev_map_hash_delete_elem) modify the list using RCU primitives (hlist_add_head_rcu, hlist_del_rcu). hlist_for_each_entry_safe() performs plain pointer dereferences without rcu_dereference(), missing the acquire barrier needed to pair with writers' rcu_assign_pointer(). On weakly-ordered architectures (ARM64, POWER), a reader can observe a partially-constructed node. It also defeats CONFIG_PROVE_RCU lockdep validation and KCSAN data-race detection. Replace with hlist_for_each_entry_rcu() using rcu_read_lock_bh_held() as the lockdep condition, consistent with the rcu_dereference_check() used in the DEVMAP (non-hash) branch of the same functions. Also fix the same incorrect lockdep_is_held(&dtab->index_lock) condition in dev_map_enqueue_multi(), where the lock is not held either.
INFO
Published Date :
June 24, 2026, 5:17 p.m.
Last Modified :
July 21, 2026, 6:21 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Apply kernel patch for bpf: dev_map_redirect_multi() SKB path.
- Use hlist_for_each_entry_rcu() for RCU-safe iteration.
- Ensure correct lockdep conditions in dev_map_enqueue_multi().
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-53096.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-53096 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-53096
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-53096 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-53096 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 21, 2026
Action Type Old Value New Value Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.141 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.91 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.14 up to (excluding) 5.15.209 Added Reference Type kernel.org: https://git.kernel.org/stable/c/4a3d0fe30b907ff324b1b49756f7e713d67f3645 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/571a05ea1baaccc0dc1e0d227b2cbc978b96d392 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7027e705062482a8cea43a1c13ede3c35653966f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8ed82f807bb09d2c8455aaa665f2c6cb17bc6a19 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b089aa6e94d7a08e74d076a0fe274842dc9feccc Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/cb2c1f3cf65b855548e1b8d55a08bfbaa5a0901a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d4c4bd231ebad70e6f30db429e9640bf378b2f52 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 28, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'e624d4ed4aa8cc3c69d1359b0aaea539203ed266', 'lessThan': '4a3d0fe30b907ff324b1b49756f7e713d67f3645', 'versionType': 'git'}, {'status': 'affected', 'version': 'e624d4ed4aa8cc3c69d1359b0aaea539203ed266', 'lessThan': 'b089aa6e94d7a08e74d076a0fe274842dc9feccc', 'versionType': 'git'}, {'status': 'affected', 'version': 'e624d4ed4aa8cc3c69d1359b0aaea539203ed266', 'lessThan': '571a05ea1baaccc0dc1e0d227b2cbc978b96d392', 'versionType': 'git'}, {'status': 'affected', 'version': 'e624d4ed4aa8cc3c69d1359b0aaea539203ed266', 'lessThan': 'cb2c1f3cf65b855548e1b8d55a08bfbaa5a0901a', 'versionType': 'git'}, {'status': 'affected', 'version': 'e624d4ed4aa8cc3c69d1359b0aaea539203ed266', 'lessThan': 'd4c4bd231ebad70e6f30db429e9640bf378b2f52', 'versionType': 'git'}, {'status': 'affected', 'version': 'e624d4ed4aa8cc3c69d1359b0aaea539203ed266', 'lessThan': '7027e705062482a8cea43a1c13ede3c35653966f', 'versionType': 'git'}, {'status': 'affected', 'version': 'e624d4ed4aa8cc3c69d1359b0aaea539203ed266', 'lessThan': '8ed82f807bb09d2c8455aaa665f2c6cb17bc6a19', 'versionType': 'git'}], 'programFiles': ['kernel/bpf/devmap.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': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.141', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.91', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['kernel/bpf/devmap.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: bpf: Use RCU-safe iteration in dev_map_redirect_multi() SKB path The DEVMAP_HASH branch in dev_map_redirect_multi() uses hlist_for_each_entry_safe() to iterate hash buckets, but this function runs under RCU protection (called from xdp_do_generic_redirect_map() in softirq context). Concurrent writers (__dev_map_hash_update_elem, dev_map_hash_delete_elem) modify the list using RCU primitives (hlist_add_head_rcu, hlist_del_rcu). hlist_for_each_entry_safe() performs plain pointer dereferences without rcu_dereference(), missing the acquire barrier needed to pair with writers' rcu_assign_pointer(). On weakly-ordered architectures (ARM64, POWER), a reader can observe a partially-constructed node. It also defeats CONFIG_PROVE_RCU lockdep validation and KCSAN data-race detection. Replace with hlist_for_each_entry_rcu() using rcu_read_lock_bh_held() as the lockdep condition, consistent with the rcu_dereference_check() used in the DEVMAP (non-hash) branch of the same functions. Also fix the same incorrect lockdep_is_held(&dtab->index_lock) condition in dev_map_enqueue_multi(), where the lock is not held either. Added Reference https://git.kernel.org/stable/c/4a3d0fe30b907ff324b1b49756f7e713d67f3645 Added Reference https://git.kernel.org/stable/c/571a05ea1baaccc0dc1e0d227b2cbc978b96d392 Added Reference https://git.kernel.org/stable/c/7027e705062482a8cea43a1c13ede3c35653966f Added Reference https://git.kernel.org/stable/c/8ed82f807bb09d2c8455aaa665f2c6cb17bc6a19 Added Reference https://git.kernel.org/stable/c/b089aa6e94d7a08e74d076a0fe274842dc9feccc Added Reference https://git.kernel.org/stable/c/cb2c1f3cf65b855548e1b8d55a08bfbaa5a0901a Added Reference https://git.kernel.org/stable/c/d4c4bd231ebad70e6f30db429e9640bf378b2f52