2

CVE-2022-50845: ext4: fix inode leak in ext4_xattr_inode_create() on an error path

Deferred
AliasesUBUNTU-CVE-2022-50845DEBIAN-CVE-2022-50845
Published 30-12-2025Last modified 11-05-2026

Vulnerability summary

CVE-2022-50845 is a low (CVSS 2.0) vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.5% of scored vulnerabilities.

Priority
Routine

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

Source freshness unavailable

How is this decided?
CVSS score
2.0/10
010
Low · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.25%
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. 30-12-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: fix inode leak in ext4_xattr_inode_create() on an error path There is issue as follows when do setxattr with inject fault: [localhost]# fsck.ext4 -fn /dev/sda e2fsck 1.46.6-rc1 (12-Sep-2022) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Unattached zero-length inode 15. Clear? no Unattached inode 15 Connect to /lost+found? no Pass 5: Checking group summary information /dev/sda: ********** WARNING: Filesystem still has errors ********** /dev/sda: 15/655360 files (0.0% non-contiguous), 66755/2621440 blocks This occurs in 'ext4_xattr_inode_create()'. If 'ext4_mark_inode_dirty()' fails, dropping i_nlink of the inode is needed. Or will lead to inode leak.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.25% 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.

Ubuntu122 products
  • linuxAll versions (No fix recorded) | < 4.15.0-208.220 | < 5.4.0-144.161 | < 5.15.0-69.76
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 4.15.0-1153.166 | < 5.4.0-1097.105 | < 5.15.0-1033.37
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.4-1
Linux1 product
  • linux≥ bd3b963b273e247e13979f98812a6e4979b5c1e4, < 0f709e08caffb41bbc9b38b9a4c1bd0769794007 | ≥ bd3b963b273e247e13979f98812a6e4979b5c1e4, < eab94a46560f68d4bcd15222701ced479f84f427 | ≥ bd3b963b273e247e13979f98812a6e4979b5c1e4, < 9ef603086c5b796fde1c7f22a17d0fc826ba54cb | ≥ bd3b963b273e247e13979f98812a6e4979b5c1e4, < 9882601ee689975c1c0076ee65bf222a2a35e535 | ≥ bd3b963b273e247e13979f98812a6e4979b5c1e4, < 322cf639b0b7f137543072c55545adab782b3a25 | ≥ bd3b963b273e247e13979f98812a6e4979b5c1e4, < fdaaf45786dc8c17a72901021772520fceb18f8c | ≥ bd3b963b273e247e13979f98812a6e4979b5c1e4, < 70e5b46beba64706430a87a6d516054225e8ac8a | ≥ bd3b963b273e247e13979f98812a6e4979b5c1e4, < e4db04f7d3dbbe16680e0ded27ea2a65b10f766a | 4.13

3 vendors · 124 products

References

12 links
Show all 12 references