{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49739","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-03-27T16:39:17.986Z","datePublished":"2025-03-27T16:42:51.609Z","dateUpdated":"2026-05-11T19:05:48.925Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T19:05:48.925Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: Always check inode size of inline inodes\n\nCheck if the inode size of stuffed (inline) inodes is within the allowed\nrange when reading inodes from disk (gfs2_dinode_in()).  This prevents\nus from on-disk corruption.\n\nThe two checks in stuffed_readpage() and gfs2_unstuffer_page() that just\ntruncate inline data to the maximum allowed size don't actually make\nsense, and they can be removed now as well."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/gfs2/aops.c","fs/gfs2/bmap.c","fs/gfs2/glops.c"],"versions":[{"version":"b3b94faa5fe5968827ba0640ee9fba4b3e7f736e","lessThan":"45df749f827c286adbc951f2a4865b67f0442ba9","status":"affected","versionType":"git"},{"version":"b3b94faa5fe5968827ba0640ee9fba4b3e7f736e","lessThan":"4d4cb76636134bf9a0c9c3432dae936f99954586","status":"affected","versionType":"git"},{"version":"b3b94faa5fe5968827ba0640ee9fba4b3e7f736e","lessThan":"7c414f6f06e9a3934901b6edc3177ae5a1e07094","status":"affected","versionType":"git"},{"version":"b3b94faa5fe5968827ba0640ee9fba4b3e7f736e","lessThan":"46c9088cabd4d0469fdb61ac2a9c5003057fe94d","status":"affected","versionType":"git"},{"version":"b3b94faa5fe5968827ba0640ee9fba4b3e7f736e","lessThan":"d458a0984429c2d47e60254f5bc4119cbafe83a2","status":"affected","versionType":"git"},{"version":"b3b94faa5fe5968827ba0640ee9fba4b3e7f736e","lessThan":"70376c7ff31221f1d21db5611d8209e677781d3a","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/gfs2/aops.c","fs/gfs2/bmap.c","fs/gfs2/glops.c"],"versions":[{"version":"2.6.19","status":"affected"},{"version":"0","lessThan":"2.6.19","status":"unaffected","versionType":"semver"},{"version":"4.19.280","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.240","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.177","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.93","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.11","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","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":"2.6.19","versionEndExcluding":"4.19.280"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.19","versionEndExcluding":"5.4.240"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.19","versionEndExcluding":"5.10.177"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.19","versionEndExcluding":"5.15.93"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.19","versionEndExcluding":"6.1.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.19","versionEndExcluding":"6.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/45df749f827c286adbc951f2a4865b67f0442ba9"},{"url":"https://git.kernel.org/stable/c/4d4cb76636134bf9a0c9c3432dae936f99954586"},{"url":"https://git.kernel.org/stable/c/7c414f6f06e9a3934901b6edc3177ae5a1e07094"},{"url":"https://git.kernel.org/stable/c/46c9088cabd4d0469fdb61ac2a9c5003057fe94d"},{"url":"https://git.kernel.org/stable/c/d458a0984429c2d47e60254f5bc4119cbafe83a2"},{"url":"https://git.kernel.org/stable/c/70376c7ff31221f1d21db5611d8209e677781d3a"}],"title":"gfs2: Always check inode size of inline inodes","x_generator":{"engine":"bippy-1.2.0"}}}}