{"id":"CVE-2024-35922","state":"PUBLISHED","title":"fbmon: prevent division by zero in fb_videomode_from_videomode()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbmon: prevent division by zero in fb_videomode_from_videomode()\n\nThe expression htotal * vtotal can have a zero value on\noverflow. It is necessary to prevent division by zero like in\nfb_var_to_videomode().\n\nFound by Linux Verification Center (linuxtesting.org) with Svace.","publishedAt":"2024-05-19T10:10:33.703Z","updatedAt":"2026-10-15T00:41:26.099Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"1fb52bc1de55e9e0bdf71fe078efd4da0889710f","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"72d091b7515e0532ee015e144c906f3bcfdd6270","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"951838fee462aa01fa2a6a91d56f9a495082e7f0","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"48d6bcfc31751ca2e753d901a2d82f27edf8a029","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"664206ff8b019bcd1e55b10b2eea3add8761b971","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"3d4b909704bf2114f64f87363fa22b5ef8ac4a33","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"1b107d637fed68a787da77a3514ad06e57abd0b4","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"c2d953276b8b27459baed1277a4fdd5dd9bd4126","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/video/fbdev/core/fbmon.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.9","versionType":"semver"},{"version":"4.19.312","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.274","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.215","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.155","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.86","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.27","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.6","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/video/fbdev/core/fbmon.c"]}],"references":["https://git.kernel.org/stable/c/1fb52bc1de55e9e0bdf71fe078efd4da0889710f","https://git.kernel.org/stable/c/72d091b7515e0532ee015e144c906f3bcfdd6270","https://git.kernel.org/stable/c/951838fee462aa01fa2a6a91d56f9a495082e7f0","https://git.kernel.org/stable/c/48d6bcfc31751ca2e753d901a2d82f27edf8a029","https://git.kernel.org/stable/c/664206ff8b019bcd1e55b10b2eea3add8761b971","https://git.kernel.org/stable/c/3d4b909704bf2114f64f87363fa22b5ef8ac4a33","https://git.kernel.org/stable/c/1b107d637fed68a787da77a3514ad06e57abd0b4","https://git.kernel.org/stable/c/c2d953276b8b27459baed1277a4fdd5dd9bd4126","https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","https://cert-portal.siemens.com/productcert/html/ssa-265688.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/35xxx/CVE-2024-35922.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-35922","state":"PUBLISHED","datePublished":"2024-05-19T10:10:33.703Z","dateUpdated":"2026-10-15T00:41:26.099Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-05-17T13:50:33.124Z"},"containers":{"cna":{"title":"fbmon: prevent division by zero in fb_videomode_from_videomode()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbmon: prevent division by zero in fb_videomode_from_videomode()\n\nThe expression htotal * vtotal can have a zero value on\noverflow. It is necessary to prevent division by zero like in\nfb_var_to_videomode().\n\nFound by Linux Verification Center (linuxtesting.org) with Svace."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"1fb52bc1de55e9e0bdf71fe078efd4da0889710f","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"72d091b7515e0532ee015e144c906f3bcfdd6270","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"951838fee462aa01fa2a6a91d56f9a495082e7f0","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"48d6bcfc31751ca2e753d901a2d82f27edf8a029","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"664206ff8b019bcd1e55b10b2eea3add8761b971","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"3d4b909704bf2114f64f87363fa22b5ef8ac4a33","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"1b107d637fed68a787da77a3514ad06e57abd0b4","versionType":"git"},{"version":"2db54c72395298a58f29c75ae880be9e478fdbbd","status":"affected","lessThan":"c2d953276b8b27459baed1277a4fdd5dd9bd4126","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/video/fbdev/core/fbmon.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.9","versionType":"semver"},{"version":"4.19.312","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.274","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.215","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.155","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.86","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.27","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.6","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/video/fbdev/core/fbmon.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/1fb52bc1de55e9e0bdf71fe078efd4da0889710f"},{"url":"https://git.kernel.org/stable/c/72d091b7515e0532ee015e144c906f3bcfdd6270"},{"url":"https://git.kernel.org/stable/c/951838fee462aa01fa2a6a91d56f9a495082e7f0"},{"url":"https://git.kernel.org/stable/c/48d6bcfc31751ca2e753d901a2d82f27edf8a029"},{"url":"https://git.kernel.org/stable/c/664206ff8b019bcd1e55b10b2eea3add8761b971"},{"url":"https://git.kernel.org/stable/c/3d4b909704bf2114f64f87363fa22b5ef8ac4a33"},{"url":"https://git.kernel.org/stable/c/1b107d637fed68a787da77a3514ad06e57abd0b4"},{"url":"https://git.kernel.org/stable/c/c2d953276b8b27459baed1277a4fdd5dd9bd4126"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:13:49.285Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"4.19.312"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"5.4.274"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"5.10.215"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"5.15.155"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.1.86"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.6.27"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.8.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-35922","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-23T19:23:14.469241Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:34:25.984Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/1fb52bc1de55e9e0bdf71fe078efd4da0889710f","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/72d091b7515e0532ee015e144c906f3bcfdd6270","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/951838fee462aa01fa2a6a91d56f9a495082e7f0","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/48d6bcfc31751ca2e753d901a2d82f27edf8a029","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/664206ff8b019bcd1e55b10b2eea3add8761b971","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/3d4b909704bf2114f64f87363fa22b5ef8ac4a33","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/1b107d637fed68a787da77a3514ad06e57abd0b4","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/c2d953276b8b27459baed1277a4fdd5dd9bd4126","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:21:48.909Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"V1.1.1","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T00:41:26.099Z"},"x_adpType":"supplier"}]}}}