Skip to content
Heist/ feed
Back to feed
HighFix available

drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error Ensure index in rtl2832_pid_filter does not exceed 31 to prevent out-of-bounds access. dev->filters is a 32-bit value, so set_bit and clear_bit functions should only operate on indices from 0 to 31. If index is 32, it will attempt to access a non-existent 33rd bit, leading to out-of-bounds access. Change the boundary check from index > 32 to index >= 32 to resolve this issue. [hverkuil: added fixes tag, rtl2830_pid_filter -> rtl2832_pid_filter in logmsg]

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.323, 5.10.227, 5.15.168, 5.4.285, 6.1.113, 6.10.13, 6.11.2, 6.6.54
CVEs
CVE-2024-47698
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 23:16 UTC · Revision 1

Source evidence

drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error

core-osv · Original source

Published 21 Oct 2024, 11:53 UTC

In the Linux kernel, the following vulnerability has been resolved: drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error Ensure index in rtl2832_pid_filter does not exceed 31 to prevent out-of-bounds access. dev->filters is a 32-bit value, so set_bit and clear_bit functions should only operate on indices from 0 to 31. If index is 32, it will attempt to access a non-existent 33rd bit, leading to out-of-bounds access. Change the boundary check from index > 32 to index >= 32 to resolve this issue. [hverkuil: added fixes tag, rtl2830_pid_filter -> rtl2832_pid_filter in logmsg]

osv:CVE-2024-47698

Kernel

Fixed versions: 4.19.323, 5.4.285, 5.10.227, 5.15.168, 6.1.113, 6.6.54, 6.10.13, 6.11.2

Complete source record
{
  "id": "e0f449f72a3d5a96cc398924113500a4d3d9f052a04c8f604ec4bef766bc9cb8",
  "url": "https://osv.dev/vulnerability/CVE-2024-47698",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error Ensure index in rtl2832_pid_filter does not exceed 31 to prevent out-of-bounds access. dev->filters is a 32-bit value, so set_bit and clear_bit functions should only operate on indices from 0 to 31. If index is 32, it will attempt to access a non-existent 33rd bit, leading to out-of-bounds access. Change the boundary check from index > 32 to index >= 32 to resolve this issue. [hverkuil: added fixes tag, rtl2830_pid_filter -> rtl2832_pid_filter in logmsg]",
    "evidence": "osv:CVE-2024-47698",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.323",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.285",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.227",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.168",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.54",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.13",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-47698",
      "aliases": [
        "CVE-2024-47698"
      ],
      "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": "4b01e01a81b6629878344430531ced347cc2ed5b"
                },
                {
                  "fixed": "7065c05c6d58b9b9a98127aa14e9a5ec68173918"
                },
                {
                  "fixed": "49b33c38d202d3327dcfd058e27f541dcc308b92"
                },
                {
                  "fixed": "6ae3b9aee42616ee93c4585174f40c767828006d"
                },
                {
                  "fixed": "a879b6cdd48134a3d58949ea4f075c75fa2d7d71"
                },
                {
                  "fixed": "15bea004e939d938a6771dfcf2a26cc899ffd20a"
                },
                {
                  "fixed": "527ab3eb3b0b4a6ee00e183c1de6a730239e2835"
                },
                {
                  "fixed": "66dbe0df6eccc7ee53a2c35016ce81e13b3ff447"
                },
                {
                  "fixed": "bedd42e07988dbdd124b23e758ffef7a681b9c60"
                },
                {
                  "fixed": "8ae06f360cfaca2b88b98ca89144548b3186aab1"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47698.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.0.0"
                },
                {
                  "fixed": "4.19.323"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.285"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.227"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.168"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.54"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.13"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.11.0"
                },
                {
                  "fixed": "6.11.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47698.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.290664370Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/15bea004e939d938a6771dfcf2a26cc899ffd20a",
        "https://git.kernel.org/stable/c/49b33c38d202d3327dcfd058e27f541dcc308b92",
        "https://git.kernel.org/stable/c/527ab3eb3b0b4a6ee00e183c1de6a730239e2835",
        "https://git.kernel.org/stable/c/66dbe0df6eccc7ee53a2c35016ce81e13b3ff447",
        "https://git.kernel.org/stable/c/6ae3b9aee42616ee93c4585174f40c767828006d",
        "https://git.kernel.org/stable/c/7065c05c6d58b9b9a98127aa14e9a5ec68173918",
        "https://git.kernel.org/stable/c/8ae06f360cfaca2b88b98ca89144548b3186aab1",
        "https://git.kernel.org/stable/c/a879b6cdd48134a3d58949ea4f075c75fa2d7d71",
        "https://git.kernel.org/stable/c/bedd42e07988dbdd124b23e758ffef7a681b9c60",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47698.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-47698",
        "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/47xxx/CVE-2024-47698.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-47698",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490802,
  "published_at": "2024-10-21T11:53:35.311+00:00"
}