netfilter: ctnetlink: use helper function to calculate expect ID
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3c79107631db1f7fd32cf3f7368e4672004a3010 · < 27662b46f2adaa52c1665a82af4b21c42c4337fd| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: ctnetlink: use helper function to calculate expect ID
Delete expectation path is missing a call to the nf_expect_get_id() helper function to calculate the expectation ID, otherwise LSB of the expectation object address is leaked to userspace.
From the CVE record · Linux
The Linux kernel’s netfilter ctnetlink delete-expectation path fails to use the helper that calculates expectation IDs. As a result, it can leak the least significant bit of an expectation object’s address to userspace. The input does not specify what access is required to reach this path.
Engineers running Linux kernels with netfilter ctnetlink should check whether their kernel includes the fix; affected versions are not specified.