CVE-2023-53146 (GCVE-0-2023-53146)

Vulnerability from cvelistv5 – Published: 2025-05-14 12:43 – Updated: 2026-01-05 10:18
VLAI?
Title
media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
Summary
In the Linux kernel, the following vulnerability has been resolved: media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer() In dw2102_i2c_transfer, msg is controlled by user. When msg[i].buf is null and msg[i].len is zero, former checks on msg[i].buf would be passed. Malicious data finally reach dw2102_i2c_transfer. If accessing msg[i].buf[0] without sanity check, null ptr deref would happen. We add check on msg[i].len to prevent crash. Similar commit: commit 950e252cb469 ("[media] dw2102: limit messages to buffer size")
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 7fd4828f6cc5bd4339ff58e372ccb5f528548b30 , < 77cbd42d29de9ffc93d5529bab8813cde53af14c (git)
Affected: 7fd4828f6cc5bd4339ff58e372ccb5f528548b30 , < ecbe6d011b95c7da59f014f8d26cb7245ed1e11e (git)
Affected: 7fd4828f6cc5bd4339ff58e372ccb5f528548b30 , < beb9550494e7349f92b9eaa283256a5ad9b1c9be (git)
Affected: 7fd4828f6cc5bd4339ff58e372ccb5f528548b30 , < 97fdbdb750342cbc204befde976872fedb406ee6 (git)
Affected: 7fd4828f6cc5bd4339ff58e372ccb5f528548b30 , < 903566208ae6bb9c0e7e54355ce75bf6cf72485d (git)
Affected: 7fd4828f6cc5bd4339ff58e372ccb5f528548b30 , < 08dfcbd03b2b7f918c4f87c6ff637054e510df74 (git)
Affected: 7fd4828f6cc5bd4339ff58e372ccb5f528548b30 , < fb28afab113a82b89ffec48c8155ec05b4f8cb5e (git)
Affected: 7fd4828f6cc5bd4339ff58e372ccb5f528548b30 , < 5ae544d94abc8ff77b1b9bf8774def3fa5689b5b (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.27
Unaffected: 0 , < 2.6.27 (semver)
Unaffected: 4.14.326 , ≤ 4.14.* (semver)
Unaffected: 4.19.295 , ≤ 4.19.* (semver)
Unaffected: 5.4.257 , ≤ 5.4.* (semver)
Unaffected: 5.10.197 , ≤ 5.10.* (semver)
Unaffected: 5.15.133 , ≤ 5.15.* (semver)
Unaffected: 6.1.55 , ≤ 6.1.* (semver)
Unaffected: 6.5.5 , ≤ 6.5.* (semver)
Unaffected: 6.6 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/usb/dvb-usb/dw2102.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "77cbd42d29de9ffc93d5529bab8813cde53af14c",
              "status": "affected",
              "version": "7fd4828f6cc5bd4339ff58e372ccb5f528548b30",
              "versionType": "git"
            },
            {
              "lessThan": "ecbe6d011b95c7da59f014f8d26cb7245ed1e11e",
              "status": "affected",
              "version": "7fd4828f6cc5bd4339ff58e372ccb5f528548b30",
              "versionType": "git"
            },
            {
              "lessThan": "beb9550494e7349f92b9eaa283256a5ad9b1c9be",
              "status": "affected",
              "version": "7fd4828f6cc5bd4339ff58e372ccb5f528548b30",
              "versionType": "git"
            },
            {
              "lessThan": "97fdbdb750342cbc204befde976872fedb406ee6",
              "status": "affected",
              "version": "7fd4828f6cc5bd4339ff58e372ccb5f528548b30",
              "versionType": "git"
            },
            {
              "lessThan": "903566208ae6bb9c0e7e54355ce75bf6cf72485d",
              "status": "affected",
              "version": "7fd4828f6cc5bd4339ff58e372ccb5f528548b30",
              "versionType": "git"
            },
            {
              "lessThan": "08dfcbd03b2b7f918c4f87c6ff637054e510df74",
              "status": "affected",
              "version": "7fd4828f6cc5bd4339ff58e372ccb5f528548b30",
              "versionType": "git"
            },
            {
              "lessThan": "fb28afab113a82b89ffec48c8155ec05b4f8cb5e",
              "status": "affected",
              "version": "7fd4828f6cc5bd4339ff58e372ccb5f528548b30",
              "versionType": "git"
            },
            {
              "lessThan": "5ae544d94abc8ff77b1b9bf8774def3fa5689b5b",
              "status": "affected",
              "version": "7fd4828f6cc5bd4339ff58e372ccb5f528548b30",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/usb/dvb-usb/dw2102.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.27"
            },
            {
              "lessThan": "2.6.27",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.326",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.295",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.197",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.133",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.326",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.295",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.257",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.197",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.133",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.55",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.5",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()\n\nIn dw2102_i2c_transfer, msg is controlled by user. When msg[i].buf\nis null and msg[i].len is zero, former checks on msg[i].buf would be\npassed. Malicious data finally reach dw2102_i2c_transfer. If accessing\nmsg[i].buf[0] without sanity check, null ptr deref would happen.\nWe add check on msg[i].len to prevent crash.\n\nSimilar commit:\ncommit 950e252cb469\n(\"[media] dw2102: limit messages to buffer size\")"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-01-05T10:18:19.911Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/77cbd42d29de9ffc93d5529bab8813cde53af14c"
        },
        {
          "url": "https://git.kernel.org/stable/c/ecbe6d011b95c7da59f014f8d26cb7245ed1e11e"
        },
        {
          "url": "https://git.kernel.org/stable/c/beb9550494e7349f92b9eaa283256a5ad9b1c9be"
        },
        {
          "url": "https://git.kernel.org/stable/c/97fdbdb750342cbc204befde976872fedb406ee6"
        },
        {
          "url": "https://git.kernel.org/stable/c/903566208ae6bb9c0e7e54355ce75bf6cf72485d"
        },
        {
          "url": "https://git.kernel.org/stable/c/08dfcbd03b2b7f918c4f87c6ff637054e510df74"
        },
        {
          "url": "https://git.kernel.org/stable/c/fb28afab113a82b89ffec48c8155ec05b4f8cb5e"
        },
        {
          "url": "https://git.kernel.org/stable/c/5ae544d94abc8ff77b1b9bf8774def3fa5689b5b"
        }
      ],
      "title": "media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53146",
    "datePublished": "2025-05-14T12:43:59.117Z",
    "dateReserved": "2025-05-02T15:51:43.565Z",
    "dateUpdated": "2026-01-05T10:18:19.911Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…