media: cx25821: Fix the warning when removing the module (Linux Linux)

CVE-2022-49525
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.28 % · centile 20 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: media: cx25821: Fix the warning when removing the module When removing the module, we will get the following warning: [ 14.746697] remove_proc_entry: removing non-empty directory 'irq/21', leaking at least 'cx25821[1]' [ 14.747449] WARNING: CPU: 4 PID: 368 at fs/proc/generic.c:717 remove_proc_entry+0x389/0x3f0 [ 14.751611] RIP: 0010:remove_proc_entry+0x389/0x3f0 [ 14.759589] Call Trace: [ 14.759792] <TASK> [ 14.759975] unregister_irq_proc+0x14c/0x170 [ 14.760340] irq_free_descs+0x94/0xe0 [ 14.760640] mp_unmap_irq+0xb6/0x100 [ 14.760937] acpi_unregister_gsi_ioapic+0x27/0x40 [ 14.761334] acpi_pci_irq_disable+0x1d3/0x320 [ 14.761688] pci_disable_device+0x1ad/0x380 [ 14.762027] ? _raw_spin_unlock_irqrestore+0x2d/0x60 [ 14.762442] ? cx25821_shutdown+0x20/0x9f0 [cx25821] [ 14.762848] cx25821_finidev+0x48/0xc0 [cx25821] [ 14.763242] pci_device_remove+0x92/0x240 Fix this by freeing the irq before call pci_disable_device().

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 02b20b0b4cde011f7ad6b5363fb88b93f7ad4e5b < 4d6295b6d986476232332fffd08575b185f90d81 ; affected 02b20b0b4cde011f7ad6b5363fb88b93f7ad4e5b < 5beb85ff7d005ddb7bf604a4f2dc76f01b84b318 ; affected 02b20b0b4cde011f7ad6b5363fb88b93f7ad4e5b < 258639bc55a586ee6df92d89786ccf1c71546d70 ; affected 02b20b0b4cde011f7ad6b5363fb88b93f7ad4e5b < 222292930c8ecc3516e03ec1f9fa8448be7ff496 ; affected 02b20b0b4cde011f7ad6b5363fb88b93f7ad4e5b < 3f94169affa33c9db4a439d88f09cb2ed3a33332 ; affected 02b20b0b4cde011f7ad6b5363fb88b93f7ad4e5b < 1f0fc1dfb5fdd456657519a97fab83691b96c6a0
Linux · Linuxaffected 2.6.32 ; unaffected 0 < 2.6.32 ; unaffected 4.9.318 ≤ 4.9.* ; unaffected 4.14.283 ≤ 4.14.* ; unaffected 4.19.247 ≤ 4.19.* ; unaffected 5.4.198 ≤ 5.4.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD