s390/ctcm: Fix double-kfree
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a · < b9dbfb1b5699f9f1e4991f96741bdf9047147589| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
s390/ctcm: Fix double-kfree
The function 'mpc_rcvd_sweep_req(mpcginfo)' is called conditionally from function 'ctcmpc_unpack_skb'. It frees passed mpcginfo. After that a call to function 'kfree' in function 'ctcmpc_unpack_skb' frees it again.
Remove 'kfree' call in function 'mpc_rcvd_sweep_req(mpcginfo)'.
Bug detected by the clang static analyzer.
From the CVE record · Linux
The Linux kernel's s390/ctcm code can free the same object twice when ctcmpc_unpack_skb calls mpc_rcvd_sweep_req. 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 s390/ctcm should check whether their kernel includes the fix; affected versions are not specified.