CVE-2022-49762
publishedntfs: check overflow when iterating ATTR_RECORDs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5559eb5809353a83a40a1e4e7f066431c7b83020 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 86f36de14dce5802856bb7a5921d74439db00b64 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 45683723f6b53e39e8a4cec0894e61fd6ec71989 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b612f924f296408d7d02fb4cd01218afd4ed7184 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 957732a09c3828267c2819d31c425aa793dd475b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b63ddb3ba61e2d3539f87e095c881e552bc45dab · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 785b2af9654b8beac55644e36da0085c5d776361 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 63095f4f3af59322bea984a6ae44337439348fe0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 4.9.334 through 4.9.* (unaffected · semver) · 4.14.300 through 4.14.* (unaffected · semver) · 4.19.267 through 4.19.* (unaffected · semver) · 5.4.225 through 5.4.* (unaffected · semver) · 5.10.156 through 5.10.* (unaffected · semver) · 5.15.80 through 5.15.* (unaffected · semver) · 6.0.10 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1903 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-071 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2-2022-1903 |
Show 71 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.110.1.150500.6.51.3 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.110.1.150500.6.51.3 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.110.1.150500.6.51.3 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_110-defaultppc64le | Advisory build | 1-150500.11.7.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_110-defaults390x | Advisory build | 1-150500.11.7.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_110-defaultx86_64 | Advisory build | 1-150500.11.7.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-builds390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-sourcenoarch | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symss390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.110.1.150500.6.51.3 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.110.1.150500.6.51.3 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-5 | kernel-devel-rtnoarch | Advisory build | 5.14.21-150500.13.97.1 | SUSE-SU-2025:01966-1 |
| SUSE / openSUSE | SLE-5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-5 | kernel-rtx86_64 | Advisory build | 5.14.21-150500.13.97.1 | SUSE-SU-2025:01966-1 |
| SUSE / openSUSE | SLE-5 | kernel-source-rtnoarch | Advisory build | 5.14.21-150500.13.97.1 | SUSE-SU-2025:01966-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2024-071 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2-2022-1903 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2024-071 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2-2022-1903 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2024-071 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2-2022-1903 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2024-071 |
Description
In the Linux kernel, the following vulnerability has been resolved: ntfs: check overflow when iterating ATTR_RECORDs Kernel iterates over ATTR_RECORDs in mft record in ntfs_attr_find(). Because the ATTR_RECORDs are next to each other, kernel can get the next ATTR_RECORD from end address of current ATTR_RECORD, through current ATTR_RECORD length field. The problem is that during iteration, when kernel calculates the end address of current ATTR_RECORD, kernel may trigger an integer overflow bug in executing `a = (ATTR_RECORD*)((u8*)a + le32_to_cpu(a->length))`. This may wrap, leading to a forever iteration on 32bit systems. This patch solves it by adding some checks on calculating end address of current ATTR_RECORD during iteration.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5559eb5809353a83a40a1e4e7f066431c7b83020 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 86f36de14dce5802856bb7a5921d74439db00b64 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 45683723f6b53e39e8a4cec0894e61fd6ec71989 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b612f924f296408d7d02fb4cd01218afd4ed7184 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 957732a09c3828267c2819d31c425aa793dd475b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b63ddb3ba61e2d3539f87e095c881e552bc45dab (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 785b2af9654b8beac55644e36da0085c5d776361 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 63095f4f3af59322bea984a6ae44337439348fe0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)4.9.334 through 4.9.* (unaffected · semver)4.14.300 through 4.14.* (unaffected · semver)4.19.267 through 4.19.* (unaffected · semver)5.4.225 through 5.4.* (unaffected · semver)5.10.156 through 5.10.* (unaffected · semver)5.15.80 through 5.15.* (unaffected · semver)6.0.10 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/45683723f6b53e39e8a4cec0894e61fd6ec71989
- https://git.kernel.org/stable/c/5559eb5809353a83a40a1e4e7f066431c7b83020
- https://git.kernel.org/stable/c/63095f4f3af59322bea984a6ae44337439348fe0
- https://git.kernel.org/stable/c/785b2af9654b8beac55644e36da0085c5d776361
- https://git.kernel.org/stable/c/86f36de14dce5802856bb7a5921d74439db00b64
- https://git.kernel.org/stable/c/957732a09c3828267c2819d31c425aa793dd475b
- https://git.kernel.org/stable/c/b612f924f296408d7d02fb4cd01218afd4ed7184
- https://git.kernel.org/stable/c/b63ddb3ba61e2d3539f87e095c881e552bc45dab
Provider assertions
1Linux · cna
ntfs: check overflow when iterating ATTR_RECORDs
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3798dc2481f9929dd6753b4ed387447a3806208b24b36fa436f8d18608932240
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record