Files
vuln-cve/data/2022/50xxx/CVE-2022-50313.json
T

206 lines
9.4 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-50313",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-09-15T14:18:36.813Z",
"datePublished": "2025-09-15T14:46:08.357Z",
"dateUpdated": "2026-05-11T19:16:53.874Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-05-11T19:16:53.874Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: fix order >= MAX_ORDER warning due to crafted negative i_size\n\nAs syzbot reported [1], the root cause is that i_size field is a\nsigned type, and negative i_size is also less than EROFS_BLKSIZ.\nAs a consequence, it's handled as fast symlink unexpectedly.\n\nLet's fall back to the generic path to deal with such unusual i_size.\n\n[1] https://lore.kernel.org/r/000000000000ac8efa05e7feaa1f@google.com"
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/erofs/inode.c"
],
"versions": [
{
"version": "431339ba90423a038914c6032bfd71f0ba7ef2f2",
"lessThan": "17a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f",
"status": "affected",
"versionType": "git"
},
{
"version": "431339ba90423a038914c6032bfd71f0ba7ef2f2",
"lessThan": "0ab621fcdff1a58ff4de51a8590fa92a0ecd34be",
"status": "affected",
"versionType": "git"
},
{
"version": "431339ba90423a038914c6032bfd71f0ba7ef2f2",
"lessThan": "acc2f40b980c61a9178b72cdedd150b829064997",
"status": "affected",
"versionType": "git"
},
{
"version": "431339ba90423a038914c6032bfd71f0ba7ef2f2",
"lessThan": "b6c8330f5b0f22149957a2e4977fd0f01a9db7cd",
"status": "affected",
"versionType": "git"
},
{
"version": "431339ba90423a038914c6032bfd71f0ba7ef2f2",
"lessThan": "6235fb899b25fd287d5e42635ff82196395708cc",
"status": "affected",
"versionType": "git"
},
{
"version": "431339ba90423a038914c6032bfd71f0ba7ef2f2",
"lessThan": "1dd73601a1cba37a0ed5f89a8662c90191df5873",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/erofs/inode.c"
],
"versions": [
{
"version": "4.19",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.19",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.289",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.233",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.82",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.19.17",
"lessThanOrEqual": "5.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.0.3",
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "5.4.289"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "5.10.233"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "5.15.82"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "5.19.17"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "6.0.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "6.1"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/17a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f"
},
{
"url": "https://git.kernel.org/stable/c/0ab621fcdff1a58ff4de51a8590fa92a0ecd34be"
},
{
"url": "https://git.kernel.org/stable/c/acc2f40b980c61a9178b72cdedd150b829064997"
},
{
"url": "https://git.kernel.org/stable/c/b6c8330f5b0f22149957a2e4977fd0f01a9db7cd"
},
{
"url": "https://git.kernel.org/stable/c/6235fb899b25fd287d5e42635ff82196395708cc"
},
{
"url": "https://git.kernel.org/stable/c/1dd73601a1cba37a0ed5f89a8662c90191df5873"
}
],
"title": "erofs: fix order >= MAX_ORDER warning due to crafted negative i_size",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}