Linux
net: strparser: fix skb_head leak in strp_abort_strp()
In the Linux kernel, the following vulnerability has been resolved: net: strparser: fix skb_head leak in strp_abort_strp() When the stream parser is aborted, for example after a message assembly timeout, it can still hold a reference to a partially assembled message in strp->skb_head. That skb is not released in strp_abort_strp(), which leaks the partially assembled message and can be triggered repeatedly to exhaust memory. Fix this by freeing strp->skb_head and resetting the parser state in the abort path. Leave strp_stop() unchanged so final cleanup still happens in strp_done() after the work and timer have been synchronized.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a, < d6668ce0e78d23eabecef9a6bc4f0f739cb28ad3
- >= 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a, < a470ed71c906cc8cbad0d74c9942216698911f8b
- >= 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a, < c2e57695ec9ff9d42f23de70f3805199153d007b
- >= 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a, < e9ae00490d474757c0f9c65073de83e6bb1e5a00
- >= 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a, < 5327dad2ffe9c1b49881dd6d51ff3c6893847568
- >= 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a, < 19ca9475f18f991735f98a22e735c43e95e6298d
- >= 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a, < 56082f442023db9be1a5a29d4ee361de4017c0b7
- >= 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a, < fe72340daaf1af588be88056faf98965f39e6032
Fixed in d6668ce0e78d23eabecef9a6bc4f0f739cb28ad3, a470ed71c906cc8cbad0d74c9942216698911f8b, c2e57695ec9ff9d42f23de70f3805199153d007b, e9ae00490d474757c0f9c65073de83e6bb1e5a00, 5327dad2ffe9c1b49881dd6d51ff3c6893847568, 19ca9475f18f991735f98a22e735c43e95e6298d, 56082f442023db9be1a5a29d4ee361de4017c0b7, fe72340daaf1af588be88056faf98965f39e6032
- 4.9
Fixed in 0, 5.10.258, 5.15.209, 6.1.175, 6.6.140, 6.12.86, 6.18.27, 7.0.4, 7.1
Mitigation
Upgrade Linux to d6668ce0e78d23eabecef9a6bc4f0f739cb28ad3 or a470ed71c906cc8cbad0d74c9942216698911f8b or c2e57695ec9ff9d42f23de70f3805199153d007b or e9ae00490d474757c0f9c65073de83e6bb1e5a00 or 5327dad2ffe9c1b49881dd6d51ff3c6893847568 or 19ca9475f18f991735f98a22e735c43e95e6298d or 56082f442023db9be1a5a29d4ee361de4017c0b7 or fe72340daaf1af588be88056faf98965f39e6032 or later.
Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.140 or 6.12.86 or 6.18.27 or 7.0.4 or 7.1 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.