5.5

CVE-2022-49345: net: xfrm: unexport __init-annotated xfrm4_protocol_init()

Analyzed
AliasesUBUNTU-CVE-2022-49345DEBIAN-CVE-2022-49345
Published 26-02-2025Last modified 11-05-2026

Vulnerability summary

CVE-2022-49345 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 21.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.29%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 4

Timeline

  1. 26-02-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: net: xfrm: unexport __init-annotated xfrm4_protocol_init() EXPORT_SYMBOL and __init is a bad combination because the .init.text section is freed up after the initialization. Hence, modules cannot use symbols annotated __init. The access to a freed symbol may end up with kernel panic. modpost used to detect it, but it has been broken for a decade. Recently, I fixed modpost so it started to warn it again, then this showed up in linux-next builds. There are two ways to fix it: - Remove __init - Remove EXPORT_SYMBOL I chose the latter for this case because the only in-tree call-site, net/ipv4/xfrm4_policy.c is never compiled as modular. (CONFIG_XFRM is boolean)

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.29%

Chance of exploitation in the next 30 days

Percentile

22%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.29% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu111 products
  • linuxAll versions (No fix recorded) | < 4.15.0-192.203 | < 5.4.0-126.142 | < 5.15.0-48.54
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 4.15.0-1140.151 | < 5.4.0-1085.92 | < 5.15.0-1020.24
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 2f32b51b609faea1e40bb8c5bd305f1351740936, < c58d82a1264813e69119c13e9804e2e60b664ad5 | ≥ 2f32b51b609faea1e40bb8c5bd305f1351740936, < e53cd3814504b2cadaba4d5a8a07eeea9ddacd03 | ≥ 2f32b51b609faea1e40bb8c5bd305f1351740936, < 31f3c6a4dcd3260a386e62cef2d5b36e902600a1 | ≥ 2f32b51b609faea1e40bb8c5bd305f1351740936, < ef6d2354de238b065d8799c80da4be9a6af18e39 | ≥ 2f32b51b609faea1e40bb8c5bd305f1351740936, < be3884d5cd04ccd58294b83a02d70b7c5fca19d3 | ≥ 2f32b51b609faea1e40bb8c5bd305f1351740936, < 85a055c03691e51499123194a14a0c249cf33227 | ≥ 2f32b51b609faea1e40bb8c5bd305f1351740936, < e04d59cfe0c0129df7aba7ef7bb17b96be2a64f2 | ≥ 2f32b51b609faea1e40bb8c5bd305f1351740936, < 2b253fbc9f7b5db18d716436bdcf8ecef09fd63d | ≥ 2f32b51b609faea1e40bb8c5bd305f1351740936, < 4a388f08d8784af48f352193d2b72aaf167a57a1 | 3.15
  • linux_kernel≥ 3.15, < 4.9.318 | ≥ 4.10, < 4.14.283 | ≥ 4.15, < 4.19.247 | ≥ 4.20, < 5.4.198 | ≥ 5.5, < 5.10.122 | ≥ 5.11, < 5.15.47 | ≥ 5.16, < 5.17.15 | ≥ 5.18, < 5.18.4 | 5.19:rc1
Debian1 product
  • linux< 5.18.5-1

3 vendors · 114 products

References

13 links
Show all 13 references