Review reviewHigh

CVE-2022-48912

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: netfilter: fix use-after-free in __nf_register_net_hook() We must not dereference @new_hooks after nf_hook_mutex has been released, because other threads might have freed our allocated hooks already. BUG: KASAN: use-after-free in nf_hook_entries_get_hook_ops include/linux/netfilter.h:130 [inline] BUG: KASAN: use-after-free in hooks_validate net/netfilter/core.c:171 [inline] BUG: KASAN: use-after-free in __nf_register_net_hook+0x77a/0x820 net/netfilter/core.c:438 Read of size 2 at addr ffff88801c1a8000 by task syz-executor23...

CVSS
7.8
EPSS
0.23%
13.4% percentile
CISA KEV
Not listed
Published
2024.08.22
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.23%
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: netfilter: fix use-after-free in __nf_register_net_hook() We must not dereference @new_hooks after nf_hook_mutex has been released, because other threads might have freed our allocated hooks already. BUG: KASAN: use-after-free in nf_hook_entries_get_hook_ops include/linux/netfilter.h:130 [inline] BUG: KASAN: use-after-free in hooks_validate net/netfilter/core.c:171 [inline] BUG: KASAN: use-after-free in __nf_register_net_hook+0x77a/0x820 net/netfilter/core.c:438 Read of size 2 at addr ffff88801c1a8000 by task syz-executor23...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 2420b79f8c18a75ee2417cace381f4604b9b4365 < 05f7927b25d2635e87267ff6c79db79fb46cf313, >= 2420b79f8c18a75ee2417cace381f4604b9b4365 < bdd8fc1b826e6f23963f5bef3f7431c6188ec954, >= 2420b79f8c18a75ee2417cace381f4604b9b4365 < 49c24579cec41e32f13d57b337fd28fb208d4a5b, >= 2420b79f8c18a75ee2417cace381f4604b9b4365 < 8b0142c4143c1ca297dcf2c0cdd045d65dae2344, >= 2420b79f8c18a75ee2417cace381f4604b9b4365 < bd61f192a339b1095dfd6d56073a5265934c2979, >= 2420b79f8c18a75ee2417cace381f4604b9b4365 < 5a8076e98dde17224dd47283b894a8b1dbe1bc72, >= 2420b79f8c18a75ee2417cace381f4604b9b4365 < 56763f12b0f02706576a088e85ef856deacc98a0, >= 4.14, >= 4.14 < 4.14.270, >= 4.15 < 4.19.233, >= 4.20 < 5.4.183, >= 5.5 < 5.10.104, >= 5.11 < 5.15.27, >= 5.16 < 5.16.13
Fixed versions
4.14.270, 4.19.233, 5.4.183, 5.10.104, 5.15.27, 5.16.13

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