ipv6: prevent possible UaF in addrconf_permanent_addr()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f1705ec197e705b79ea40fe7a2cc5acfa1d3bfac · < 3cd4efb5df72843dfac892d0b3c7a4a8bd926b65| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ipv6: prevent possible UaF in addrconf_permanent_addr()
The mentioned helper try to warn the user about an exceptional condition, but the message is delivered too late, accessing the ipv6 after its possible deletion.
Reorder the statement to avoid the possible UaF; while at it, place the warning outside the idev->lock as it needs no protection.
From the CVE record · Linux
The Linux kernel’s IPv6 addrconf_permanent_addr() helper can access an IPv6 object after it may have been deleted while issuing a warning. The input does not specify how an attacker could trigger this or whether access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their installations; affected versions are not specified.