Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2022-50746

Опубликовано: 24 дек. 2025
Источник: redhat
CVSS3: 5.5
EPSS Низкий

Описание

In the Linux kernel, the following vulnerability has been resolved: erofs: validate the extent length for uncompressed pclusters syzkaller reported a KASAN use-after-free: https://syzkaller.appspot.com/bug?extid=2ae90e873e97f1faf6f2 The referenced fuzzed image actually has two issues:

  • m_pa == 0 as a non-inlined pcluster;
  • The logical length is longer than its physical length. The first issue has already been addressed. This patch addresses the second issue by checking the extent length validity.

Отчет

In EROFS compressed layout code z_erofs_do_map_blocks handles plain uncompressed pclusters. A crafted filesystem image can provide an extent where the logical length map m_llen is larger than the physical length map m_plen. This breaks internal assumptions about valid mapping ranges and can cause subsequent code to access memory or buffers based on inconsistent lengths. Syzkaller reported a KASAN use after free in this area (read). A local attacker can mount or otherwise cause the kernel to parse a crafted EROFS image. In many environments mounting requires CAP_SYS_ADMIN. However parsing may also happen indirectly in privileged contexts such as system image handling.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred

Показывать по

Дополнительная информация

Статус:

Moderate
https://bugzilla.redhat.com/show_bug.cgi?id=2425197kernel: erofs: validate the extent length for uncompressed pclusters

EPSS

Процентиль: 11%
0.00208
Низкий

5.5 Medium

CVSS3

Связанные уязвимости

CVSS3: 8.4
ubuntu
9 месяцев назад

In the Linux kernel, the following vulnerability has been resolved: erofs: validate the extent length for uncompressed pclusters syzkaller reported a KASAN use-after-free: https://syzkaller.appspot.com/bug?extid=2ae90e873e97f1faf6f2 The referenced fuzzed image actually has two issues: - m_pa == 0 as a non-inlined pcluster; - The logical length is longer than its physical length. The first issue has already been addressed. This patch addresses the second issue by checking the extent length validity.

CVSS3: 8.4
nvd
9 месяцев назад

In the Linux kernel, the following vulnerability has been resolved: erofs: validate the extent length for uncompressed pclusters syzkaller reported a KASAN use-after-free: https://syzkaller.appspot.com/bug?extid=2ae90e873e97f1faf6f2 The referenced fuzzed image actually has two issues: - m_pa == 0 as a non-inlined pcluster; - The logical length is longer than its physical length. The first issue has already been addressed. This patch addresses the second issue by checking the extent length validity.

CVSS3: 8.4
debian
9 месяцев назад

In the Linux kernel, the following vulnerability has been resolved: e ...

CVSS3: 8.4
github
9 месяцев назад

In the Linux kernel, the following vulnerability has been resolved: erofs: validate the extent length for uncompressed pclusters syzkaller reported a KASAN use-after-free: https://syzkaller.appspot.com/bug?extid=2ae90e873e97f1faf6f2 The referenced fuzzed image actually has two issues: - m_pa == 0 as a non-inlined pcluster; - The logical length is longer than its physical length. The first issue has already been addressed. This patch addresses the second issue by checking the extent length validity.

EPSS

Процентиль: 11%
0.00208
Низкий

5.5 Medium

CVSS3