Review reviewHigh

CVE-2023-52772

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: af_unix: fix use-after-free in unix_stream_read_actor() syzbot reported the following crash [1] After releasing unix socket lock, u->oob_skb can be changed by another thread. We must temporarily increase skb refcount to make sure this other thread will not free the skb under us. [1] BUG: KASAN: slab-use-after-free in unix_stream_read_actor+0xa7/0xc0 net/unix/af_unix.c:2866 Read of size 4 at addr ffff88801f3b9cc4 by task syz-executor107/5297 CPU: 1 PID: 5297 Comm: syz-executor107 Not tainted 6.6.0-syzkaller-15910-gb8e3a87a62...

CVSS
7.8
EPSS
-
- percentile
CISA KEV
Not listed
Published
2024.05.22
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: af_unix: fix use-after-free in unix_stream_read_actor() syzbot reported the following crash [1] After releasing unix socket lock, u->oob_skb can be changed by another thread. We must temporarily increase skb refcount to make sure this other thread will not free the skb under us. [1] BUG: KASAN: slab-use-after-free in unix_stream_read_actor+0xa7/0xc0 net/unix/af_unix.c:2866 Read of size 4 at addr ffff88801f3b9cc4 by task syz-executor107/5297 CPU: 1 PID: 5297 Comm: syz-executor107 Not tainted 6.6.0-syzkaller-15910-gb8e3a87a62...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 876c14ad014d0e39c57cbfde53e13d17cdb6d645 < 75bcfc188abf4fae9c1d5f5dc0a03540be602eef, >= 876c14ad014d0e39c57cbfde53e13d17cdb6d645 < d179189eec426fe4801e4b91efa1889faed12700, >= 876c14ad014d0e39c57cbfde53e13d17cdb6d645 < eae0b295ce16d8c8b4114c3037993191b4bb92f0, >= 876c14ad014d0e39c57cbfde53e13d17cdb6d645 < 069a3ec329ff43e7869a3d94c62cd03203016bce, >= 876c14ad014d0e39c57cbfde53e13d17cdb6d645 < 4b7b492615cf3017190f55444f7016812b66611d, >= 5.15, >= 5.15 < 5.15.140, >= 5.16 < 6.1.64, >= 6.2 < 6.5.13, >= 6.6 < 6.6.3
Fixed versions
5.15.140, 6.1.64, 6.5.13, 6.6.3

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel 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