Skip to content
Heist/ feed
Back to feed
MediumFix available

media: hi846: Fix memleak in hi846_init_controls()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: media: hi846: Fix memleak in hi846_init_controls() hi846_init_controls doesn't clean the allocated ctrl_hdlr in case there is a failure, which causes memleak. Add v4l2_ctrl_handler_free to free the resource properly.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.28, 6.2.15, 6.3.2
CVEs
CVE-2023-53300
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:32 UTC · Revision 1

Source evidence

media: hi846: Fix memleak in hi846_init_controls()

core-osv · Original source

Published 16 Sept 2025, 08:11 UTC

In the Linux kernel, the following vulnerability has been resolved: media: hi846: Fix memleak in hi846_init_controls() hi846_init_controls doesn't clean the allocated ctrl_hdlr in case there is a failure, which causes memleak. Add v4l2_ctrl_handler_free to free the resource properly.

osv:CVE-2023-53300

Kernel

Fixed versions: 6.1.28, 6.2.15, 6.3.2

Complete source record
{
  "id": "5fba5ac1554c157d4bef5033c9a0443d22ecf8640731b17c63bda17d65a89758",
  "url": "https://osv.dev/vulnerability/CVE-2023-53300",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "media: hi846: Fix memleak in hi846_init_controls()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: media: hi846: Fix memleak in hi846_init_controls() hi846_init_controls doesn't clean the allocated ctrl_hdlr in case there is a failure, which causes memleak. Add v4l2_ctrl_handler_free to free the resource properly.",
    "evidence": "osv:CVE-2023-53300",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.28",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.2.15",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.3.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-53300",
      "aliases": [
        "CVE-2023-53300"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e8c0882685f9152f0d729664a12bcbe749cb7736"
                },
                {
                  "fixed": "fd22e8c8c38fb40f130d3a60e52c59996a5bbae9"
                },
                {
                  "fixed": "12a80b1490e398f5ad7157508cf32b73511de5fc"
                },
                {
                  "fixed": "07f0f15e5db60c5b0722049d3251ef4a46dc3b76"
                },
                {
                  "fixed": "2649c1a20e8e399ee955d0e22192f9992662c3d2"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53300.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.28"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.2.15"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.3.0"
                },
                {
                  "fixed": "6.3.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53300.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.474186438Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/07f0f15e5db60c5b0722049d3251ef4a46dc3b76",
        "https://git.kernel.org/stable/c/12a80b1490e398f5ad7157508cf32b73511de5fc",
        "https://git.kernel.org/stable/c/2649c1a20e8e399ee955d0e22192f9992662c3d2",
        "https://git.kernel.org/stable/c/fd22e8c8c38fb40f130d3a60e52c59996a5bbae9",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53300.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53300",
        "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/2023/53xxx/CVE-2023-53300.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53300",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492733,
  "published_at": "2025-09-16T08:11:31.629+00:00"
}