Linux
bpf: Compare iterator types during state pruning
In the Linux kernel, the following vulnerability has been resolved: bpf: Compare iterator types during state pruning An iterator stack slot can be MEM_RCU or PTR_UNTRUSTED. These states must not be equal, or the verifier can prune an unsafe path. Compare the pointer type for STACK_ITER slots.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= dfab99df147b0d364f0c199f832ff2aedfb2265a, < 86bbaf9e6e4fa6c0dfb352e9e11fae328069233a
- >= dfab99df147b0d364f0c199f832ff2aedfb2265a, < e4ab436d5ba61e4910fd49d24bb64ddb34d493d6
- >= dfab99df147b0d364f0c199f832ff2aedfb2265a, < 6424b9cde9edc7f2098115bbfd1ee3d84a958380
- >= dfab99df147b0d364f0c199f832ff2aedfb2265a, < 83608e303b95d07afba1c15da0b5d9e513c2f15a
Fixed in 86bbaf9e6e4fa6c0dfb352e9e11fae328069233a, e4ab436d5ba61e4910fd49d24bb64ddb34d493d6, 6424b9cde9edc7f2098115bbfd1ee3d84a958380, 83608e303b95d07afba1c15da0b5d9e513c2f15a
- 6.7
Fixed in 0, 6.12.114, 6.18.57, 7.2.6, 7.3
Mitigation
Upgrade Linux to 86bbaf9e6e4fa6c0dfb352e9e11fae328069233a or e4ab436d5ba61e4910fd49d24bb64ddb34d493d6 or 6424b9cde9edc7f2098115bbfd1ee3d84a958380 or 83608e303b95d07afba1c15da0b5d9e513c2f15a or later.
Upgrade Linux to 0 or 6.12.114 or 6.18.57 or 7.2.6 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.