{"api_version":"1","generated_at":"2026-07-23T13:08:54+00:00","cve":"CVE-2024-56557","urls":{"html":"https://cve.report/CVE-2024-56557","api":"https://cve.report/api/cve/CVE-2024-56557.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-56557","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-56557"},"summary":{"title":"iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer\n\nThe AD7923 was updated to support devices with 8 channels, but the size\nof tx_buf and ring_xfer was not increased accordingly, leading to a\npotential buffer overflow in ad7923_update_scan_mode().","state":"PUBLISHED","assigner":"Linux","published_at":"2024-12-27 15:15:14","updated_at":"2026-04-18 09:16:09"},"problem_types":["CWE-120","CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/e5cac32721997cb8bcb208a29f4598b3faf46338","name":"https://git.kernel.org/stable/c/e5cac32721997cb8bcb208a29f4598b3faf46338","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6e4d236d9c4b38571c394d3ab6e85dfb71c33ed3","name":"https://git.kernel.org/stable/c/6e4d236d9c4b38571c394d3ab6e85dfb71c33ed3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3a4187ec454e19903fd15f6e1825a4b84e59a4cd","name":"https://git.kernel.org/stable/c/3a4187ec454e19903fd15f6e1825a4b84e59a4cd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/00663d3e000c31d0d49ef86a809f5c107c2d09cd","name":"https://git.kernel.org/stable/c/00663d3e000c31d0d49ef86a809f5c107c2d09cd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/218ecc35949129171ca39bcc0d407c8dc4cd0bbc","name":"https://git.kernel.org/stable/c/218ecc35949129171ca39bcc0d407c8dc4cd0bbc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","name":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-56557","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56557","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 851644a60d200c9a294de5a5594004bcf13d34c7 6e4d236d9c4b38571c394d3ab6e85dfb71c33ed3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 851644a60d200c9a294de5a5594004bcf13d34c7 00663d3e000c31d0d49ef86a809f5c107c2d09cd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 851644a60d200c9a294de5a5594004bcf13d34c7 e5cac32721997cb8bcb208a29f4598b3faf46338 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 851644a60d200c9a294de5a5594004bcf13d34c7 218ecc35949129171ca39bcc0d407c8dc4cd0bbc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 851644a60d200c9a294de5a5594004bcf13d34c7 3a4187ec454e19903fd15f6e1825a4b84e59a4cd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.6","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.6 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.203 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.120 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.64 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.4 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.13 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2024","cve_id":"56557","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},{"other":{"content":{"id":"CVE-2024-56557","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2025-02-18T16:03:56.635182Z","version":"2.0.3"},"type":"ssvc"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-120","description":"CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2025-02-18T16:06:09.556Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"providerMetadata":{"dateUpdated":"2025-11-03T20:49:26.305Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/iio/adc/ad7923.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6e4d236d9c4b38571c394d3ab6e85dfb71c33ed3","status":"affected","version":"851644a60d200c9a294de5a5594004bcf13d34c7","versionType":"git"},{"lessThan":"00663d3e000c31d0d49ef86a809f5c107c2d09cd","status":"affected","version":"851644a60d200c9a294de5a5594004bcf13d34c7","versionType":"git"},{"lessThan":"e5cac32721997cb8bcb208a29f4598b3faf46338","status":"affected","version":"851644a60d200c9a294de5a5594004bcf13d34c7","versionType":"git"},{"lessThan":"218ecc35949129171ca39bcc0d407c8dc4cd0bbc","status":"affected","version":"851644a60d200c9a294de5a5594004bcf13d34c7","versionType":"git"},{"lessThan":"3a4187ec454e19903fd15f6e1825a4b84e59a4cd","status":"affected","version":"851644a60d200c9a294de5a5594004bcf13d34c7","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/iio/adc/ad7923.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.6"},{"lessThan":"5.6","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.203","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.120","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.64","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.13","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.203","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.120","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.64","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.4","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.13","versionStartIncluding":"5.6","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer\n\nThe AD7923 was updated to support devices with 8 channels, but the size\nof tx_buf and ring_xfer was not increased accordingly, leading to a\npotential buffer overflow in ad7923_update_scan_mode()."}],"providerMetadata":{"dateUpdated":"2026-04-18T08:56:39.610Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/6e4d236d9c4b38571c394d3ab6e85dfb71c33ed3"},{"url":"https://git.kernel.org/stable/c/00663d3e000c31d0d49ef86a809f5c107c2d09cd"},{"url":"https://git.kernel.org/stable/c/e5cac32721997cb8bcb208a29f4598b3faf46338"},{"url":"https://git.kernel.org/stable/c/218ecc35949129171ca39bcc0d407c8dc4cd0bbc"},{"url":"https://git.kernel.org/stable/c/3a4187ec454e19903fd15f6e1825a4b84e59a4cd"}],"title":"iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2024-56557","datePublished":"2024-12-27T14:23:03.251Z","dateReserved":"2024-12-27T14:03:05.992Z","dateUpdated":"2026-04-18T08:56:39.610Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2024-12-27 15:15:14","lastModifiedDate":"2026-04-18 09:16:09","problem_types":["CWE-120","CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.1.120","matchCriteriaId":"B9A042BF-EFEC-4C3F-A855-F60F0EE5697A"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.64","matchCriteriaId":"CA16DEE3-ABEC-4449-9F4A-7A3DC4FC36C7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.4","matchCriteriaId":"04756810-D093-4B43-B1D9-CF5035968061"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2024","CveId":"56557","Ordinal":"1","Title":"iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer","CVE":"CVE-2024-56557","Year":"2024"},"notes":[{"CveYear":"2024","CveId":"56557","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer\n\nThe AD7923 was updated to support devices with 8 channels, but the size\nof tx_buf and ring_xfer was not increased accordingly, leading to a\npotential buffer overflow in ad7923_update_scan_mode().","Type":"Description","Title":"iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer"}]}}}