Skip to content
Heist/ feed
Back to feed
HighFix available

iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer The AD7923 was updated to support devices with 8 channels, but the size of tx_buf and ring_xfer was not increased accordingly, leading to a potential buffer overflow in ad7923_update_scan_mode().

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.203, 6.1.120, 6.12.4, 6.6.64
CVEs
CVE-2024-56557
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:34 UTC · Revision 1

Source evidence

iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer

core-osv · Original source

Published 27 Dec 2024, 14:23 UTC

In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer The AD7923 was updated to support devices with 8 channels, but the size of tx_buf and ring_xfer was not increased accordingly, leading to a potential buffer overflow in ad7923_update_scan_mode().

osv:CVE-2024-56557

Kernel

Fixed versions: 5.15.203, 6.1.120, 6.6.64, 6.12.4

Complete source record
{
  "id": "6040f2d54b3f890736fc9e8cc58e2f6b4ada55d095580d2e1149a98c6cb38ff1",
  "url": "https://osv.dev/vulnerability/CVE-2024-56557",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer The AD7923 was updated to support devices with 8 channels, but the size of tx_buf and ring_xfer was not increased accordingly, leading to a potential buffer overflow in ad7923_update_scan_mode().",
    "evidence": "osv:CVE-2024-56557",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.203",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.120",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.64",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-56557",
      "aliases": [
        "CVE-2024-56557"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "851644a60d200c9a294de5a5594004bcf13d34c7"
                },
                {
                  "fixed": "6e4d236d9c4b38571c394d3ab6e85dfb71c33ed3"
                },
                {
                  "fixed": "00663d3e000c31d0d49ef86a809f5c107c2d09cd"
                },
                {
                  "fixed": "e5cac32721997cb8bcb208a29f4598b3faf46338"
                },
                {
                  "fixed": "218ecc35949129171ca39bcc0d407c8dc4cd0bbc"
                },
                {
                  "fixed": "3a4187ec454e19903fd15f6e1825a4b84e59a4cd"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56557.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.6.0"
                },
                {
                  "fixed": "5.15.203"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.120"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.64"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56557.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.391007288Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/00663d3e000c31d0d49ef86a809f5c107c2d09cd",
        "https://git.kernel.org/stable/c/218ecc35949129171ca39bcc0d407c8dc4cd0bbc",
        "https://git.kernel.org/stable/c/3a4187ec454e19903fd15f6e1825a4b84e59a4cd",
        "https://git.kernel.org/stable/c/6e4d236d9c4b38571c394d3ab6e85dfb71c33ed3",
        "https://git.kernel.org/stable/c/e5cac32721997cb8bcb208a29f4598b3faf46338",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56557.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-56557",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56557.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-56557",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492751,
  "published_at": "2024-12-27T14:23:03.251+00:00"
}