CVE-2022-0850: Infoleak

Published May 6, 2021
·
Updated

A vulnerability was found in linux kernel, where an information leak occurs via ext4extentheader to userspace.

Other sources

An information leak flaw was found via ext4extentheader in fs/ext4/extents.c in the Linux kernel. This flaw could allow a local attacker to cause a denial of service.

In multiple functions of extents.c, there is a possible out of bounds read due to uninitialized data. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.

— OSV

There is a kernel information leak vulnerability which was produced by my improved syzkaller, The output message is as follows:

Syzkaller hit 'KMSAN: kernel-infoleak in copypagetoiter' bug. ​ ===================================================== BUG: KMSAN: kernel-infoleak in instrumentcopytouser build/../include/linux/instrumented.h:121 [inline] BUG: KMSAN: kernel-infoleak in copyout build/../lib/ioviter.c:156 [inline] BUG: KMSAN: kernel-infoleak in copypagetoiteriovec build/../lib/ioviter.c:231 [inline] BUG: KMSAN: kernel-infoleak in copypagetoiter build/../lib/ioviter.c:855 [inline] BUG: KMSAN: kernel-infoleak in copypagetoiter+0xa65/0x2630 build/../lib/ioviter.c:883 instrumentcopytouser build/../include/linux/instrumented.h:121 [inline] copyout build/../lib/ioviter.c:156 [inline] copypagetoiteriovec build/../lib/ioviter.c:231 [inline] copypagetoiter build/../lib/ioviter.c:855 [inline] copypagetoiter+0xa65/0x2630 build/../lib/ioviter.c:883 filemapread+0xf7a/0x1b10 build/../mm/filemap.c:2697 genericfilereaditer+0x19c/0xa50 build/../mm/filemap.c:2792 ext4filereaditer+0xa09/0xd10 callreaditer build/../include/linux/fs.h:2156 [inline] newsyncread build/../fs/readwrite.c:400 [inline] vfsread+0x1631/0x1980 build/../fs/readwrite.c:481 ksysread+0x28b/0x510 build/../fs/readwrite.c:619 dosysread build/../fs/readwrite.c:629 [inline] sesysread build/../fs/readwrite.c:627 [inline] x64sysread+0xdb/0x120 build/../fs/readwrite.c:627 dosyscallx64 build/../arch/x86/entry/common.c:51 [inline] dosyscall64+0x54/0xd0 build/../arch/x86/entry/common.c:82 entrySYSCALL64afterhwframe+0x44/0xae

Refer: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ce3aba43599f0b50adbebff133df8d08a3d5fffe

— Red Hat

Affected Software

109 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-372.9.1.rt7.166.el8
0:4.18.0-372.9.1.rt7.166.el8
redhat/kernel<0:4.18.0-372.9.1.el8
0:4.18.0-372.9.1.el8
Linux Linux kernel<4.4.276
Linux Linux kernel>=4.5<4.9.276
Linux Linux kernel>=4.10<4.14.240
Linux Linux kernel>=4.15<4.19.198
Linux Linux kernel>=4.20<5.4.132
Linux Linux kernel>=5.5.0<5.10.50
Linux Linux kernel>=5.11<5.12.17
Linux Linux kernel>=5.13<5.13.2
redhat/kernel<5.14
5.14
Google Android
ubuntu/linux-aws<4.4.0-1113.119
4.4.0-1113.119
ubuntu/linux-azure<4.15.0-1123.136~14.04.1
4.15.0-1123.136~14.04.1
ubuntu/linux-lts-xenial<4.4.0-234.268~14.04.1
4.4.0-234.268~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-234.268
4.4.0-234.268
ubuntu/linux-aws<4.4.0-1151.166
4.4.0-1151.166
ubuntu/linux-aws-hwe<4.15.0-1111.118~16.04.1
4.15.0-1111.118~16.04.1
ubuntu/linux-azure<4.15.0-1123.136~16.04.1
4.15.0-1123.136~16.04.1
ubuntu/linux-gcp<4.15.0-1108.122~16.04.1
4.15.0-1108.122~16.04.1
ubuntu/linux-hwe<4.15.0-156.163~16.04.1
4.15.0-156.163~16.04.1
ubuntu/linux-kvm<4.4.0-1114.124
4.4.0-1114.124
ubuntu/linux-oracle<4.15.0-1080.88~16.04.1
4.15.0-1080.88~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1083.90
4.4.0-1083.90
ubuntu/linux-fips*
ubuntu/linux<4.15.0-156.163
4.15.0-156.163
ubuntu/linux-aws<4.15.0-1111.118
4.15.0-1111.118
ubuntu/linux-aws-5.4<5.4.0-1056.59~18.04.1
5.4.0-1056.59~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1123.136
4.15.0-1123.136
ubuntu/linux-azure-5.4<5.4.0-1058.60~18.04.1
5.4.0-1058.60~18.04.1
ubuntu/linux-dell300x<4.15.0-1027.32
4.15.0-1027.32
ubuntu/linux-gcp-4.15<4.15.0-1108.122
4.15.0-1108.122
ubuntu/linux-gcp-5.4<5.4.0-1052.56~18.04.1
5.4.0-1052.56~18.04.1
ubuntu/linux-gke-5.4<5.4.0-1052.55~18.04.1
5.4.0-1052.55~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1023.24~18.04.1
5.4.0-1023.24~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-84.94~18.04.1
5.4.0-84.94~18.04.1
ubuntu/linux-kvm<4.15.0-1099.101
4.15.0-1099.101
ubuntu/linux-oracle<4.15.0-1080.88
4.15.0-1080.88
ubuntu/linux-oracle-5.4<5.4.0-1054.58~18.04.1
5.4.0-1054.58~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1043.47~18.04.1
5.4.0-1043.47~18.04.1
ubuntu/linux-raspi2<4.15.0-1095.101
4.15.0-1095.101
ubuntu/linux-snapdragon<4.15.0-1112.121
4.15.0-1112.121
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gke-4.15*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2053.55
4.15.0-2053.55
ubuntu/linux-azure-fips<4.15.0-2035.39
4.15.0-2035.39
ubuntu/linux-fips<4.15.0-1069.78
4.15.0-1069.78
ubuntu/linux-gcp-fips<4.15.0-2018.20
4.15.0-2018.20
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-84.94
5.4.0-84.94
ubuntu/linux-aws<5.4.0-1056.59
5.4.0-1056.59
ubuntu/linux-azure<5.4.0-1058.60
5.4.0-1058.60
ubuntu/linux-bluefield<5.4.0-1019.22
5.4.0-1019.22
ubuntu/linux-gcp<5.4.0-1052.56
5.4.0-1052.56
ubuntu/linux-gke<5.4.0-1052.55
5.4.0-1052.55
ubuntu/linux-gkeop<5.4.0-1023.24
5.4.0-1023.24
ubuntu/linux-kvm<5.4.0-1046.48
5.4.0-1046.48
ubuntu/linux-oracle<5.4.0-1054.58
5.4.0-1054.58
ubuntu/linux-raspi<5.4.0-1043.47
5.4.0-1043.47
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.8*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.8*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-aws-fips<5.4.0-1069.73+fips2
5.4.0-1069.73+fips2
ubuntu/linux-azure-fips<5.4.0-1073.76+fips1
5.4.0-1073.76+fips1
ubuntu/linux-fips<5.4.0-1033.38
5.4.0-1033.38
ubuntu/linux-gcp-fips<5.4.0-1067.71~20.04.1
5.4.0-1067.71~20.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*
debian/linux<5.14.6-1
5.14.6-1
debian/linux<5.14.6-1
5.14.6-1
debian/linux<5.14.6-1
5.14.6-1
android/:linux_kernel:>=:0<:2023-02-05
:2023-02-05
debian/linux
4.9.290-14.19.208-15.10.70-15.14.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-372.9.1.rt7.166.el8
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-372.9.1.el8
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.14
  4. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1113.119
  5. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1123.136~14.04.1
  6. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-234.268~14.04.1
  7. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-234.268
  8. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1151.166
  9. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1111.118~16.04.1
  10. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1123.136~16.04.1
  11. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1108.122~16.04.1
  12. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-156.163~16.04.1
  13. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1114.124
  14. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1080.88~16.04.1
  15. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1083.90
  16. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-156.163
  17. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1111.118
  18. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1056.59~18.04.1
  19. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1123.136
  20. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1058.60~18.04.1
  21. Upgrade

    Upgrade ubuntu/linux-dell300x to a version that resolves this vulnerability.

    Fixed in 4.15.0-1027.32
  22. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1108.122
  23. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1052.56~18.04.1
  24. Upgrade

    Upgrade ubuntu/linux-gke-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1052.55~18.04.1
  25. Upgrade

    Upgrade ubuntu/linux-gkeop-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1023.24~18.04.1
  26. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-84.94~18.04.1
  27. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1099.101
  28. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1080.88
  29. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1054.58~18.04.1
  30. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1043.47~18.04.1
  31. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1095.101
  32. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.15.0-1112.121
  33. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2053.55
  34. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2035.39
  35. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1069.78
  36. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2018.20
  37. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-84.94
  38. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1056.59
  39. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1058.60
  40. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.4.0-1019.22
  41. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1052.56
  42. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.4.0-1052.55
  43. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.4.0-1023.24
  44. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1046.48
  45. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1054.58
  46. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1043.47
  47. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1069.73+fips2
  48. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1073.76+fips1
  49. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1033.38
  50. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1067.71~20.04.1
  51. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.14.6-1
  52. Upgrade

    Upgrade android/:linux_kernel: to a version that resolves this vulnerability.

    Fixed in :2023-02-05
  53. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 4.9.290-1Fixed in 4.19.208-1Fixed in 5.10.70-1Fixed in 5.14.6-1

Event History

May 6, 2021
CVE Published
07:30 PM
Data Sourced
07:30 PM
RemedyDescriptionSeverityWeakness
Data Sourced
07:30 PM
Affected Software
Aug 29, 2022
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·02:03 PM
Data Sourced
via MITRE·02:03 PM
DescriptionWeakness
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software
Event
via OSV·03:15 PM
Feb 1, 2023
Advisory Published
via OSV·12:00 AM
Aug 28, 2023
Data Sourced
via Red Hat·10:46 AM
DescriptionSeverityAffected Software
Oct 5, 2023
Data Sourced
via NVD·01:47 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·01:47 PM
Affected Software
Oct 27, 2023
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Updated
via Android·12:00 AM
Affected Software
Feb 7, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 11, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 18, 2024
Updated
via Android·12:00 AM
Affected Software
Apr 29, 2024
Updated
via Android·12:00 AM
Affected Software
May 21, 2024
Updated
via Android·12:00 AM
Affected Software
Aug 26, 2024
Updated
via Android·12:00 AM
Affected Software
Nov 21, 2024
Updated
via NVD·06:39 AM
RemedyAffected Software
Sep 30, 2026
Updated
via Android·12:00 AM
Affected Software
Nov 11, 2026
Updated
via OSV·09:37 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:23 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-0850?

CVE-2022-0850 is classified as a medium severity vulnerability due to its potential to cause an information leak that could lead to denial of service.

2

How do I fix CVE-2022-0850?

To fix CVE-2022-0850, upgrade your Linux kernel to version 0:4.18.0-372.9.1.rt7.166.el8 or higher, depending on your distribution.

3

What systems are affected by CVE-2022-0850?

CVE-2022-0850 affects various versions of the Linux kernel, including those before 0:4.18.0-372.9.1.el8 and certain versions up to 5.4.132.

4

Who can exploit CVE-2022-0850?

CVE-2022-0850 can be exploited by a local attacker with access to the affected systems.

5

What is the primary impact of CVE-2022-0850?

The primary impact of CVE-2022-0850 is the potential for an information leak through the ext4_extent_header in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203