CVE-2024-42154Published Jul 30, 2024 · Jul 30Updated Oct 28
tcp_metrics: validate source addr length
Linux
Medium4.4Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 · < 8c2debdd170e395934ac0e039748576dfde14e99| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
tcp_metrics: validate source addr length
I don't see anything checking that TCP_METRICS_ATTR_SADDR_IPV4 is at least 4 bytes long, and the policy doesn't have an entry for this attribute at all (neither does it for IPv6 but v6 is manually validated).
From the CVE record · Linux
The Linux kernel's tcp_metrics component does not check that the TCP_METRICS_ATTR_SADDR_IPV4 attribute is at least four bytes long. A shorter attribute can therefore pass this length check; the input does not specify the resulting impact or the access needed to trigger it.
Engineers running Linux kernels should check their exposure; affected versions are not specified.