Review reviewHigh

CVE-2023-52637

Linux Linux, linux kernel, debian linux

In the Linux kernel, the following vulnerability has been resolved: can: j1939: Fix UAF in j1939_sk_match_filter during setsockopt(SO_J1939_FILTER) Lock jsk->sk to prevent UAF when setsockopt(..., SO_J1939_FILTER, ...) modifies jsk->filters while receiving packets. Following trace was seen on affected system: ================================================================== BUG: KASAN: slab-use-after-free in j1939_sk_recv_match_one+0x1af/0x2d0 [can_j1939] Read of size 4 at addr ffff888012144014 by task j1939/350 CPU: 0 PID: 350 Comm: j1939 Tainted: G W OE 6.5.0-rc5 #1 Hardware name: QEMU S...

CVSS
7.8
EPSS
-
- percentile
CISA KEV
Not listed
Published
2024.04.04
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability-
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: can: j1939: Fix UAF in j1939_sk_match_filter during setsockopt(SO_J1939_FILTER) Lock jsk->sk to prevent UAF when setsockopt(..., SO_J1939_FILTER, ...) modifies jsk->filters while receiving packets. Following trace was seen on affected system: ================================================================== BUG: KASAN: slab-use-after-free in j1939_sk_recv_match_one+0x1af/0x2d0 [can_j1939] Read of size 4 at addr ffff888012144014 by task j1939/350 CPU: 0 PID: 350 Comm: j1939 Tainted: G W OE 6.5.0-rc5 #1 Hardware name: QEMU S...

Affected product and versions

Product
Linux Linux, linux kernel, debian linux
Affected versions
>= 9d71dd0c70099914fcd063135da3c580865e924c < 08de58abedf6e69396e1207e4f99ef8904b2b532, >= 9d71dd0c70099914fcd063135da3c580865e924c < 978e50ef8c38dc71bd14d1b0143d554ff5d188ba, >= 9d71dd0c70099914fcd063135da3c580865e924c < 41ccb5bcbf03f02d820bc6ea8390811859f558f8, >= 9d71dd0c70099914fcd063135da3c580865e924c < 4dd684d4bb3cd5454e0bf6e2a1bdfbd5c9c872ed, >= 9d71dd0c70099914fcd063135da3c580865e924c < f84e7534457dcd7835be743517c35378bb4e7c50, >= 9d71dd0c70099914fcd063135da3c580865e924c < fc74b9cb789cae061bbca7b203a3842e059f6b5d, >= 9d71dd0c70099914fcd063135da3c580865e924c < efe7cf828039aedb297c1f9920b638fffee6aabc, >= 5.4, >= 5.4 < 5.4.269, >= 5.5 < 5.10.210, >= 5.11 < 5.15.149, >= 5.16 < 6.1.79, >= 6.2 < 6.6.18, >= 6.7 < 6.7.6, 6.8, 10.0
Fixed versions
5.4.269, 5.10.210, 5.15.149, 6.1.79, 6.6.18, 6.7.6

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel, debian linux and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416