CVE-2022-48782
published 2024-07-16CVE-2022-48782: In the Linux kernel, the following vulnerability has been resolved: mctp: fix use after free Clang static analysis reports this problem route.c:425:4: warning…
PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.22%
12.2th percentile
In the Linux kernel, the following vulnerability has been resolved:
mctp: fix use after free
Clang static analysis reports this problem
route.c:425:4: warning: Use of memory after it is freed
trace_mctp_key_acquire(key);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
When mctp_key_add() fails, key is freed but then is later
used in trace_mctp_key_acquire(). Add an else statement
to use the key only when mctp_key_add() is successful.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.16.11-1 (bookworm) | linux 5.16.11-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 4f9e1ba6de45aa8797a83f1fe5b82ec4bac16899 < 1dd3ecbec5f606b2a526c47925c8634b1a6bb81e | 1dd3ecbec5f606b2a526c47925c8634b1a6bb81e |
| linux | linux | >= 4f9e1ba6de45aa8797a83f1fe5b82ec4bac16899 < 7e5b6a5c8c44310784c88c1c198dde79f6402f7b | 7e5b6a5c8c44310784c88c1c198dde79f6402f7b |
| linux | linux_kernel | >= 0 < 5.16.11-1 | 5.16.11-1 |
| linux | linux_kernel | >= 0 < 5.16.11-1 | 5.16.11-1 |
| linux | linux_kernel | >= 0 < 5.16.11-1 | 5.16.11-1 |
| linux | linux_kernel | >= 5.16 < 5.16.11 | 5.16.11 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: mctp: fix use after free
vendor_redhat·2024-07-16·CVSS 7.8
CVE-2022-48782 [HIGH] CWE-416 kernel: mctp: fix use after free
kernel: mctp: fix use after free
In the Linux kernel, the following vulnerability has been resolved:
mctp: fix use after free
Clang static analysis reports this problem
route.c:425:4: warning: Use of memory after it is freed
trace_mctp_key_acquire(key);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
When mctp_key_add() fails, key is freed but then is later
used in trace_mctp_key_acquire(). Add an else statement
to use the key only when mctp_key_add() is successful.
A vulnerability was found in the Linux kernel in the mctp_route_input() function, where a lack of proper checks allows a potential use-after-free scenario to occur when the function mctp_key_add() fails and frees the key object's memory, which the function trace_mctp_key_acquire() then attempts to access. This could lead to memory corruption or
Debian
CVE-2022-48782: linux - In the Linux kernel, the following vulnerability has been resolved: mctp: fix u...
vendor_debian·2022·CVSS 7.8
CVE-2022-48782 [HIGH] CVE-2022-48782: linux - In the Linux kernel, the following vulnerability has been resolved: mctp: fix u...
In the Linux kernel, the following vulnerability has been resolved: mctp: fix use after free Clang static analysis reports this problem route.c:425:4: warning: Use of memory after it is freed trace_mctp_key_acquire(key); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ When mctp_key_add() fails, key is freed but then is later used in trace_mctp_key_acquire(). Add an else statement to use the key only when mctp_key_add() is successful.
Scope: local
bookworm: resolved (fixed in 5.16.11-1)
bullseye: resolved
forky: resolved (fixed in 5.16.11-1)
sid: resolved (fixed in 5.16.11-1)
trixie: resolved (fixed in 5.16.11-1)
VulDB
Linux Kernel up to 5.16/5.16.10 route.c mctp_key_add use after free (1dd3ecbec5f6/7e5b6a5c8c44 / WID-SEC-2024-1625)
vuldb·2026-07-11·CVSS 7.8
CVE-2022-48782 [HIGH] Linux Kernel up to 5.16/5.16.10 route.c mctp_key_add use after free (1dd3ecbec5f6/7e5b6a5c8c44 / WID-SEC-2024-1625)
A vulnerability described as critical has been identified in Linux Kernel up to 5.16/5.16.10. This affects the function mctp_key_add of the file route.c. Executing a manipulation can lead to use after free.
This vulnerability is registered as CVE-2022-48782. The attack requires access to the local network. No exploit is available.
Upgrading the affected component is recommended.
OSV
CVE-2022-48782: In the Linux kernel, the following vulnerability has been resolved: mctp: fix use after free Clang static analysis reports this problem route
osv·2024-07-16·CVSS 7.8
CVE-2022-48782 [HIGH] CVE-2022-48782: In the Linux kernel, the following vulnerability has been resolved: mctp: fix use after free Clang static analysis reports this problem route
In the Linux kernel, the following vulnerability has been resolved: mctp: fix use after free Clang static analysis reports this problem route.c:425:4: warning: Use of memory after it is freed trace_mctp_key_acquire(key); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ When mctp_key_add() fails, key is freed but then is later used in trace_mctp_key_acquire(). Add an else statement to use the key only when mctp_key_add() is successful.
GHSA
GHSA-v29p-wgpj-c454: In the Linux kernel, the following vulnerability has been resolved:
mctp: fix use after free
Clang static analysis reports this problem
route
ghsa_unreviewed·2024-07-16
CVE-2022-48782 [HIGH] CWE-416 GHSA-v29p-wgpj-c454: In the Linux kernel, the following vulnerability has been resolved:
mctp: fix use after free
Clang static analysis reports this problem
route
In the Linux kernel, the following vulnerability has been resolved:
mctp: fix use after free
Clang static analysis reports this problem
route.c:425:4: warning: Use of memory after it is freed
trace_mctp_key_acquire(key);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
When mctp_key_add() fails, key is freed but then is later
used in trace_mctp_key_acquire(). Add an else statement
to use the key only when mctp_key_add() is successful.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-07-16
Published