---
id: CVE-2024-47697
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

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

  Ensure index in rtl2830_pid_filter does not exceed 31 to prevent
  out-of-bounds access.

  dev->fi…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

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

  Ensure index in rtl2830_pid_filter does not exceed 31 to prevent
  out-of-bounds access.

  dev->fi…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: debian
product: debian_linux
affected:
  - debian_linux = 11.0
  - 'linux_kernel >= 4.0, < 4.19.323'
  - 'linux_kernel >= 4.20, < 5.4.285'
  - 'linux_kernel >= 5.5, < 5.10.227'
  - 'linux_kernel >= 5.11, < 5.15.168'
  - 'linux_kernel >= 5.16, < 6.1.113'
  - 'linux_kernel >= 6.2, < 6.6.54'
  - 'linux_kernel >= 6.7, < 6.10.13'
  - 'linux_kernel >= 6.11, < 6.11.2'
patched:
  - linux_kernel 6.11.2
published: '2024-10-21'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:55.110'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-47697'
references:
  - url: 'https://git.kernel.org/stable/c/042b101d7bf70616c4967c286ffa6fcca65babfb'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3dba83d3c81de1368d15a39f22df7b53e306052f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/46d7ebfe6a75a454a5fa28604f0ef1491f9d8d14'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/58f31be7dfbc0c84a6497ad51924949cf64b86a2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7fd6aae7e53b94f4035b1bfce28b8dfa0d0ae470'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/86d920d2600c3a48efc2775c1666c1017eec6956'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/883f794c6e498ae24680aead55c16f66b06cfc30'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8ffbe7d07b8e76193b151107878ddc1ccc94deb5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/badbd736e6649c4e6d7b4ff7e2b9857acfa9ea94'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-355557.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00281
epssPercentile: 0.19222
ingestedAt: '2026-10-15T03:30:12.746Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-10-21T13:05:04.931797Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

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

Ensure index in rtl2830_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.

## Affected

- `debian_linux = 11.0`
- `linux_kernel >= 4.0, < 4.19.323`
- `linux_kernel >= 4.20, < 5.4.285`
- `linux_kernel >= 5.5, < 5.10.227`
- `linux_kernel >= 5.11, < 5.15.168`
- `linux_kernel >= 5.16, < 6.1.113`
- `linux_kernel >= 6.2, < 6.6.54`
- `linux_kernel >= 6.7, < 6.10.13`
- `linux_kernel >= 6.11, < 6.11.2`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.11.2`
