CIQ Security Advisory: Remediation of CVE-2024-36971
7.8
16
10/01/2024
09/29/2026
Packages
kernel-3.10.0-1160.119.1.el7_9.ciqcbr.4.1.srckernel-4.18.0-425.13.1.el8.ciqfipscompliant.0.34.srckernel-5.14.0-284.30.1.el9_2.ciqfips.0.10.1.srckernel-4.18.0-372.32.1.el8_6.86ciq_lts.9.2.srckernel-rt-4.18.0-372.34.1.rt7.190.el8_6.86ciq_lts.4.1.srckernel-4.18.0-477.27.1.el8_8.88ciq_lts.4.1.srckernel-rt-4.18.0-477.27.1.rt7.290.el8_8.88ciq_lts.2.1.srckernel-5.14.0-284.30.1.el9_2.92ciq_lts.5.2.srckernel-rt-5.14.0-284.30.1.rt14.315.el9_2.92ciq_lts.2.2.srcCVSS v3 Score Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HRemediations
vendor_fix
Update to the fixed package version from CIQ repositories
Distribution
WHITE
Copyright (c) CIQ, Inc. VEX content is derived from Red Hat CSAF VEX documents (https://access.redhat.com/security/data/csaf/v2/vex/), (C) Red Hat, Inc., used under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); modified by CIQ.
Description
In the Linux kernel, the following vulnerability has been resolved:
net: fix __dst_negative_advice() race
__dst_negative_advice() does not enforce proper RCU rules when
sk->dst_cache must be cleared, leading to possible UAF.
RCU rules are that we must first clear sk->sk_dst_cache,
then call dst_release(old_dst).
Note that sk_dst_reset(sk) is implementing this protocol correctly,
while __dst_negative_advice() uses the wrong order.
Given that ip6_negative_advice() has special logic
against RTF_CACHE, this means each of the three ->negative_advice()
existing methods must perform the sk_dst_reset() themselves.
Note the check against NULL dst is centralized in
__dst_negative_advice(), there is no need to duplicate
it in various callbacks.
Many thanks to Clement Lecigne for tracking this issue.
This old bug became visible after the blamed commit, using UDP sockets.
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to the original copyright holder(s) and provide a link to the original.