GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2024-50056 (GCVE-0-2024-50056)

Vulnerability from cvelistv5 – Published: 2024-10-21 19:39 – Updated: 2026-05-11 20:44
VLAI
Title
usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c Fix potential dereferencing of ERR_PTR() in find_format_by_pix() and uvc_v4l2_enum_format(). Fix the following smatch errors: drivers/usb/gadget/function/uvc_v4l2.c:124 find_format_by_pix() error: 'fmtdesc' dereferencing possible ERR_PTR() drivers/usb/gadget/function/uvc_v4l2.c:392 uvc_v4l2_enum_format() error: 'fmtdesc' dereferencing possible ERR_PTR() Also, fix similar issue in uvc_v4l2_try_format() for potential dereferencing of ERR_PTR().
Severity
No CVSS data available.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-10-22 13:23 UTC
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 588b9e85609bcb2f84a2be83591480aa943943b6 , < 03fa71e97e9bb116993ec1d51b8a6fe776db0984 (git)
Affected: 588b9e85609bcb2f84a2be83591480aa943943b6 , < 72a68d2bede3284b95ee93a5ab3a81758bba95b0 (git)
Affected: 588b9e85609bcb2f84a2be83591480aa943943b6 , < cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6 (git)
Affected: 588b9e85609bcb2f84a2be83591480aa943943b6 , < a7bb96b18864225a694e3887ac2733159489e4b0 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.1
Unaffected: 0 , < 6.1 (semver)
Unaffected: 6.1.133 , ≤ 6.1.* (semver)
Unaffected: 6.6.86 , ≤ 6.6.* (semver)
Unaffected: 6.11.4 , ≤ 6.11.* (semver)
Unaffected: 6.12 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-50056",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-10-22T13:23:29.014877Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-10-22T13:28:42.896Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T19:31:37.303Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/gadget/function/uvc_v4l2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "03fa71e97e9bb116993ec1d51b8a6fe776db0984",
              "status": "affected",
              "version": "588b9e85609bcb2f84a2be83591480aa943943b6",
              "versionType": "git"
            },
            {
              "lessThan": "72a68d2bede3284b95ee93a5ab3a81758bba95b0",
              "status": "affected",
              "version": "588b9e85609bcb2f84a2be83591480aa943943b6",
              "versionType": "git"
            },
            {
              "lessThan": "cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6",
              "status": "affected",
              "version": "588b9e85609bcb2f84a2be83591480aa943943b6",
              "versionType": "git"
            },
            {
              "lessThan": "a7bb96b18864225a694e3887ac2733159489e4b0",
              "status": "affected",
              "version": "588b9e85609bcb2f84a2be83591480aa943943b6",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/gadget/function/uvc_v4l2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.1"
            },
            {
              "lessThan": "6.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.133",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.12",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.133",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.86",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.4",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c\n\nFix potential dereferencing of ERR_PTR() in find_format_by_pix()\nand uvc_v4l2_enum_format().\n\nFix the following smatch errors:\n\ndrivers/usb/gadget/function/uvc_v4l2.c:124 find_format_by_pix()\nerror: \u0027fmtdesc\u0027 dereferencing possible ERR_PTR()\n\ndrivers/usb/gadget/function/uvc_v4l2.c:392 uvc_v4l2_enum_format()\nerror: \u0027fmtdesc\u0027 dereferencing possible ERR_PTR()\n\nAlso, fix similar issue in uvc_v4l2_try_format() for potential\ndereferencing of ERR_PTR()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T20:44:33.938Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/03fa71e97e9bb116993ec1d51b8a6fe776db0984"
        },
        {
          "url": "https://git.kernel.org/stable/c/72a68d2bede3284b95ee93a5ab3a81758bba95b0"
        },
        {
          "url": "https://git.kernel.org/stable/c/cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6"
        },
        {
          "url": "https://git.kernel.org/stable/c/a7bb96b18864225a694e3887ac2733159489e4b0"
        }
      ],
      "title": "usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-50056",
    "datePublished": "2024-10-21T19:39:47.131Z",
    "dateReserved": "2024-10-21T19:36:19.938Z",
    "dateUpdated": "2026-05-11T20:44:33.938Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-50056",
      "date": "2026-09-16",
      "epss": "0.00219",
      "percentile": "0.12491"
    },
    "fkie_nvd": {
      "configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"6.11\", \"versionEndExcluding\": \"6.11.4\", \"matchCriteriaId\": \"66F99BD9-E74F-4CC8-834E-B73BD4643C7B\"}]}]}]",
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c\\n\\nFix potential dereferencing of ERR_PTR() in find_format_by_pix()\\nand uvc_v4l2_enum_format().\\n\\nFix the following smatch errors:\\n\\ndrivers/usb/gadget/function/uvc_v4l2.c:124 find_format_by_pix()\\nerror: \u0027fmtdesc\u0027 dereferencing possible ERR_PTR()\\n\\ndrivers/usb/gadget/function/uvc_v4l2.c:392 uvc_v4l2_enum_format()\\nerror: \u0027fmtdesc\u0027 dereferencing possible ERR_PTR()\\n\\nAlso, fix similar issue in uvc_v4l2_try_format() for potential\\ndereferencing of ERR_PTR().\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: gadget: uvc: Corrige la desreferenciaci\\u00f3n de ERR_PTR en uvc_v4l2.c Corrige la posible desreferenciaci\\u00f3n de ERR_PTR() en find_format_by_pix() y uvc_v4l2_enum_format(). Corrige los siguientes errores de coincidencia: drivers/usb/gadget/function/uvc_v4l2.c:124 find_format_by_pix() error: posible desreferenciaci\\u00f3n de \u0027fmtdesc\u0027 a ERR_PTR() drivers/usb/gadget/function/uvc_v4l2.c:392 uvc_v4l2_enum_format() error: posible desreferenciaci\\u00f3n de \u0027fmtdesc\u0027 a ERR_PTR() Adem\\u00e1s, corrige un problema similar en uvc_v4l2_try_format() para una posible desreferenciaci\\u00f3n de ERR_PTR().\"}]",
      "id": "CVE-2024-50056",
      "lastModified": "2024-11-20T20:18:00.460",
      "metrics": "{\"cvssMetricV31\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"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}]}",
      "published": "2024-10-21T20:15:17.853",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/a7bb96b18864225a694e3887ac2733159489e4b0\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Analyzed",
      "weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-476\"}]}]"
    },
    "microsoft_vex": {
      "current_release_date": "2026-02-21T03:53:38.000Z",
      "cve": "CVE-2024-50056",
      "id": "msrc_CVE-2024-50056",
      "initial_release_date": "2024-10-01T07:00:00.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c",
      "url": "https://msrc.microsoft.com/csaf/vex/2024/msrc_cve-2024-50056.json",
      "version": "2"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-50056\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-10-21T20:15:17.853\",\"lastModified\":\"2026-06-17T08:03:28.627\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c\\n\\nFix potential dereferencing of ERR_PTR() in find_format_by_pix()\\nand uvc_v4l2_enum_format().\\n\\nFix the following smatch errors:\\n\\ndrivers/usb/gadget/function/uvc_v4l2.c:124 find_format_by_pix()\\nerror: \u0027fmtdesc\u0027 dereferencing possible ERR_PTR()\\n\\ndrivers/usb/gadget/function/uvc_v4l2.c:392 uvc_v4l2_enum_format()\\nerror: \u0027fmtdesc\u0027 dereferencing possible ERR_PTR()\\n\\nAlso, fix similar issue in uvc_v4l2_try_format() for potential\\ndereferencing of ERR_PTR().\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: gadget: uvc: Corrige la desreferenciaci\u00f3n de ERR_PTR en uvc_v4l2.c Corrige la posible desreferenciaci\u00f3n de ERR_PTR() en find_format_by_pix() y uvc_v4l2_enum_format(). Corrige los siguientes errores de coincidencia: drivers/usb/gadget/function/uvc_v4l2.c:124 find_format_by_pix() error: posible desreferenciaci\u00f3n de \u0027fmtdesc\u0027 a ERR_PTR() drivers/usb/gadget/function/uvc_v4l2.c:392 uvc_v4l2_enum_format() error: posible desreferenciaci\u00f3n de \u0027fmtdesc\u0027 a ERR_PTR() Adem\u00e1s, corrige un problema similar en uvc_v4l2_try_format() para una posible desreferenciaci\u00f3n de ERR_PTR().\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/usb/gadget/function/uvc_v4l2.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"588b9e85609bcb2f84a2be83591480aa943943b6\",\"lessThan\":\"03fa71e97e9bb116993ec1d51b8a6fe776db0984\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"588b9e85609bcb2f84a2be83591480aa943943b6\",\"lessThan\":\"72a68d2bede3284b95ee93a5ab3a81758bba95b0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"588b9e85609bcb2f84a2be83591480aa943943b6\",\"lessThan\":\"cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"588b9e85609bcb2f84a2be83591480aa943943b6\",\"lessThan\":\"a7bb96b18864225a694e3887ac2733159489e4b0\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/usb/gadget/function/uvc_v4l2.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.1\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.1\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.133\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.86\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.11.4\",\"lessThanOrEqual\":\"6.11.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"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}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-10-22T13:23:29.014877Z\",\"id\":\"CVE-2024-50056\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.11\",\"versionEndExcluding\":\"6.11.4\",\"matchCriteriaId\":\"66F99BD9-E74F-4CC8-834E-B73BD4643C7B\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/03fa71e97e9bb116993ec1d51b8a6fe776db0984\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/72a68d2bede3284b95ee93a5ab3a81758bba95b0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a7bb96b18864225a694e3887ac2733159489e4b0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2025-11-21T14:21:08+00:00",
      "cve": "CVE-2024-50056",
      "id": "CVE-2024-50056",
      "initial_release_date": "2024-10-21T00:00:00+00:00",
      "product_status:known_not_affected": "198",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-50056.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-11T02:12:15Z",
      "cve": "CVE-2024-50056",
      "id": "CVE-2024-50056",
      "initial_release_date": "2024-10-22T02:49:36Z",
      "product_status:known_affected": "410",
      "product_status:known_not_affected": "463",
      "product_status:recommended": "312",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-50056",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-50056.json",
      "version": "59"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2025-11-03T19:31:37.303Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-50056\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-10-22T13:23:29.014877Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-10-22T13:23:32.091Z\"}}], \"cna\": {\"title\": \"usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"588b9e85609bcb2f84a2be83591480aa943943b6\", \"lessThan\": \"03fa71e97e9bb116993ec1d51b8a6fe776db0984\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"588b9e85609bcb2f84a2be83591480aa943943b6\", \"lessThan\": \"72a68d2bede3284b95ee93a5ab3a81758bba95b0\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"588b9e85609bcb2f84a2be83591480aa943943b6\", \"lessThan\": \"cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"588b9e85609bcb2f84a2be83591480aa943943b6\", \"lessThan\": \"a7bb96b18864225a694e3887ac2733159489e4b0\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/usb/gadget/function/uvc_v4l2.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.1\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.1\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.1.133\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.86\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11.4\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.11.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/usb/gadget/function/uvc_v4l2.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/03fa71e97e9bb116993ec1d51b8a6fe776db0984\"}, {\"url\": \"https://git.kernel.org/stable/c/72a68d2bede3284b95ee93a5ab3a81758bba95b0\"}, {\"url\": \"https://git.kernel.org/stable/c/cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6\"}, {\"url\": \"https://git.kernel.org/stable/c/a7bb96b18864225a694e3887ac2733159489e4b0\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c\\n\\nFix potential dereferencing of ERR_PTR() in find_format_by_pix()\\nand uvc_v4l2_enum_format().\\n\\nFix the following smatch errors:\\n\\ndrivers/usb/gadget/function/uvc_v4l2.c:124 find_format_by_pix()\\nerror: \u0027fmtdesc\u0027 dereferencing possible ERR_PTR()\\n\\ndrivers/usb/gadget/function/uvc_v4l2.c:392 uvc_v4l2_enum_format()\\nerror: \u0027fmtdesc\u0027 dereferencing possible ERR_PTR()\\n\\nAlso, fix similar issue in uvc_v4l2_try_format() for potential\\ndereferencing of ERR_PTR().\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.133\", \"versionStartIncluding\": \"6.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.86\", \"versionStartIncluding\": \"6.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11.4\", \"versionStartIncluding\": \"6.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12\", \"versionStartIncluding\": \"6.1\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-01-05T10:54:49.876Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-50056\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-01-05T10:54:49.876Z\", \"dateReserved\": \"2024-10-21T19:36:19.938Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-10-21T19:39:47.131Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…