batman-adv: frag: fix primary_if leak on failed linearization
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a063f2fba3fa633a599253b62561051ac185fa99 · < a90f4fff9025371bce5371daa610af957de8dd6a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: frag: fix primary_if leak on failed linearization
If the skb has a frag_list, it must be linearized before it can be split using skb_split(). But when this step failed, it must not only free the skb but also take care of the reference to the already found primary_if.
From the CVE record · Linux
The Linux kernel's batman-adv fragmentation code can leak a reference to primary_if when linearization fails for an skb with a frag_list. The input does not establish how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with batman-adv should check their versions; affected versions are not specified.