PT-2021-8230 · Linux+5 · Linux Kernel+5

Kurt Kanzenbach

·

Published

2021-12-14

·

Updated

2024-12-02

·

CVE-2021-47592

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a NULL pointer dereference in the Linux kernel, specifically in the stmmac component. This occurs when deleting a specific tc flower record. The problem arises from a previous incorrect implementation of tc del vlan flow(), which uses flow cls offload flow rule() to get a struct flow rule *rule that is no longer valid for the tc filter delete operation. To replicate the issue, one can add a flower filter for VLAN Priority based frame steering, get the 'pref' id, and then delete a specific tc flower record. The kernel NULL pointer dereference can be observed in the dmesg output. The introduction of stmmac rfs entry as a driver-side flow cls offload record for 'RX frame steering' tc flower aims to resolve this issue.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

DoS

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2024-11554
CESA-2023_2736
CESA-2023_2951
CVE-2021-47592
OPENSUSE-SU-2024_2372-1
OPENSUSE-SU-2024_2394-1
RHSA-2023:2148
RHSA-2023:2458
RHSA-2023:2736
RHSA-2023:2951
RHSA-2023_2148
RHSA-2023_2458
RHSA-2023_2736
RHSA-2023_2951
SUSE-SU-2024:2372-1
SUSE-SU-2024:2394-1
SUSE-SU-2024:2902-1
SUSE-SU-2024:2929-1
SUSE-SU-2024:2939-1

Affected Products

Astra Linux
Centos
Linux Kernel
Red Hat
Red Os
Suse