BlackTreeIndependent security intelligence
← Back to the CVE catalogue
Full vulnerability report · 2025
CVE-2022-50282High confidence

chardev: fix error handling in cdev_device_add()

Linux · Linux

5.5MediumCVSS 3.1
Recommended action
Scheduled

Medium technical severity with no CISA KEV confirmation; remediate through the normal risk-based patch cycle unless local exposure raises the priority.

Patch available
Distribution package intelligence

Ubuntu vendor package status

Canonical’s release and source-package findings are shown separately from local repository availability.

9 package states
Repository candidate not checked

A published vendor fix does not prove that a matching update is enabled and installable on a particular asset. Confirm the local package candidate before scheduling remediation.

Ubuntu releaseSource packageVendor stateFixed versionEvidence
Ubuntu 24.04 LTSnoble · standard archivelinux-azure-6.11Affected, no fix publishedCanonical OVAL identifies this running kernel flavour as affected and does not publish a fixed package version in this definition.Not published in this feedCanonical record ↗Source updated 8 Sept 2026
Ubuntu 24.04 LTSnoble · standard archivelinux-gcp-6.11Affected, no fix publishedCanonical OVAL identifies this running kernel flavour as affected and does not publish a fixed package version in this definition.Not published in this feedCanonical record ↗Source updated 8 Sept 2026
Ubuntu 24.04 LTSnoble · standard archivelinux-hwe-6.11Affected, no fix publishedCanonical OVAL identifies this running kernel flavour as affected and does not publish a fixed package version in this definition.Not published in this feedCanonical record ↗Source updated 8 Sept 2026
Ubuntu 24.04 LTSnoble · standard archivelinux-intelAffected, no fix publishedCanonical OVAL identifies this running kernel flavour as affected and does not publish a fixed package version in this definition.Not published in this feedCanonical record ↗Source updated 8 Sept 2026
Ubuntu 24.04 LTSnoble · standard archivelinux-lowlatency-hwe-6.11Affected, no fix publishedCanonical OVAL identifies this running kernel flavour as affected and does not publish a fixed package version in this definition.Not published in this feedCanonical record ↗Source updated 8 Sept 2026
Ubuntu 24.04 LTSnoble · standard archivelinux-oem-6.11Affected, no fix publishedCanonical OVAL identifies this running kernel flavour as affected and does not publish a fixed package version in this definition.Not published in this feedCanonical record ↗Source updated 8 Sept 2026
Ubuntu 24.04 LTSnoble · standard archivelinux-raspi-realtimeAffected, no fix publishedCanonical OVAL identifies this running kernel flavour as affected and does not publish a fixed package version in this definition.Not published in this feedCanonical record ↗Source updated 8 Sept 2026
Ubuntu 24.04 LTSnoble · standard archivelinux-realtimeAffected, no fix publishedCanonical OVAL identifies this running kernel flavour as affected and does not publish a fixed package version in this definition.Not published in this feedCanonical record ↗Source updated 8 Sept 2026
Ubuntu 24.04 LTSnoble · standard archivelinux-riscvAffected, no fix publishedCanonical OVAL identifies this running kernel flavour as affected and does not publish a fixed package version in this definition.Not published in this feedCanonical record ↗Source updated 8 Sept 2026
Optional official sources

National CERT insights
?CERT means Computer Emergency Response Team; CSIRT is the closely related term Computer Security Incident Response Team.

Select the national-authority views to include. The exact source language is shown on each matched advisory. Your choice is remembered on this device and encoded in the shareable URL.

Official European source

ENISA European Vulnerability Database

Official EUVD identifiers, advisory evidence and known-exploited context. Missing fields are not treated as evidence of low risk.

1 current
ENISA EUVD identifier

EUVD-2022-55573

No EUVD known-exploited evidence

ENISA has published the identifier mapping but no EUVD description has been stored yet.

EUVD state
Present in the current official mapping
Known exploitation
Not present in the current ENISA EUVD known-exploited dataset. This is not proof of no exploitation.
ENISA score
Not supplied in the stored EUVD record
Advisory evidence
No linked advisory details stored yet
Recommended actionScheduled

Medium technical severity with no CISA KEV confirmation; remediate through the normal risk-based patch cycle unless local exposure raises the priority.

Patch available
01

What, why and how

In the Linux kernel, the following vulnerability has been resolved: chardev: fix error handling in cdev_device_add() While doing fault injection test, I got the following report: ------------[ cut here ]------------ kobject: '(null)' (0000000039956980): is not initialized, yet kobject_put() is being called. WARNING: CPU: 3 PID: 6306 at kobject_put+0x23d/0x4e0 CPU: 3 PID: 6306 Comm: 283 Tainted: G W 6.1.0-rc2-00005-g307c1086d7c9 #1253 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014 RIP: 0010:kobject_put+0x23d/0x4e0 Call Trace: <TASK> cdev_device_add+0x15e/0x1b0 __iio_device_register+0x13b4/0x1af0 [industrialio] __devm_iio_device_register+0x22/0x90 [industrialio] max517_probe+0x3d8/0x6b4 [max517] i2c_device_probe+0xa81/0xc00 When device_add() is injected fault and returns error, if dev->devt is not set, cdev_add() is not called, cdev_del() is not needed. Fix this by checking dev->devt in error path.

What

In the Linux kernel, the following vulnerability has been resolved: chardev: fix error handling in cdev_device_add() While doing fault injection test, I got the following report: ------------[ cut here ]------------ kobject: '(null)' (0000000039956980): is not initialized, yet kobject_put() is being called. WARNING: CPU: 3 PID: 6306 at kobject_put+0x23d/0x4e0 CPU: 3 PID: 6306 Comm: 283 Tainted: G W 6.1.0-rc2-00005-g307c1086d7c9 #1253 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014 RIP: 0010:kobject_put+0x23d/0x4e0 Call Trace: <TASK> cdev_device_add+0x15e/0x1b0 __iio_device_register+0x13b4/0x1af0 [industrialio] __devm_iio_device_register+0x22/0x90 [industrialio] max517_probe+0x3d8/0x6b4 [max517] i2c_device_probe+0xa81/0xc00 When device_add() is injected fault and returns error, if dev->devt is not set, cdev_add() is not called, cdev_del() is not needed. Fix this by checking dev->devt in error path.

Why

The product uses or accesses a resource that has not been initialized.

How

An attacker operating through local access may attempt exploitation with low privileges. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.

What

In the Linux kernel, the following vulnerability has been resolved: chardev: fix error handling in cdev_device_add() While doing fault injection test, I got the following report: ------------[ cut here ]------------ kobject: '(null)' (0000000039956980): is not initialized, yet kobject_put() is being called. WARNING: CPU: 3 PID: 6306 at kobject_put+0x23d/0x4e0 CPU: 3 PID: 6306 Comm: 283 Tainted: G W 6.1.0-rc2-00005-g307c1086d7c9 #1253 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014 RIP: 0010:kobject_put+0x23d/0x4e0 Call Trace: <TASK> cdev_device_add+0x15e/0x1b0 __iio_device_register+0x13b4/0x1af0 [industrialio] __devm_iio_device_register+0x22/0x90 [industrialio] max517_probe+0x3d8/0x6b4 [max517] i2c_device_probe+0xa81/0xc00 When device_add() is injected fault and returns error, if dev->devt is not set, cdev_add() is not called, cdev_del() is not needed. Fix this by checking dev->devt in error path.

Why

The product uses or accesses a resource that has not been initialized.

How

An attacker operating through local access may attempt exploitation with low privileges. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.

02

Exploit reality and attack path

CVSS severity, EPSS forecast probability, public exploit material and CISA-confirmed exploitation are separate signals.

Observed exploitation
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
No confirmed evidence

No CISA KEV match was present at the last successful refresh. This means no confirmation from that source, not proof of no exploitation.

Public PoC / exploit material
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
None recorded

No exploit-tagged reference or CISA SSVC proof-of-concept state is currently recorded. Research may still exist outside the structured feeds.

Likely attack path
local access → Use of Uninitialized Resource → cause the confidentiality, integrity or availability impact described by the vendor
Attack surface
Local
Privileges required
Low: a basic authenticated account is required
User interaction
None
Attack complexity
Low: no specialised conditions are recorded
Security boundary
Unchanged: impact remains within the vulnerable component's security authority
Weakness
?CWE means Common Weakness Enumeration: a standard category for the underlying weakness.
CWE-908

CWE-908: Use of Uninitialized Resource. The product uses or accesses a resource that has not been initialized.

CVSS vector
?CVSS means Common Vulnerability Scoring System. The vector records the metric values used to calculate technical severity.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Common Vulnerability Scoring System 3.1: the compact vector below is decoded into plain language.

AVLocalAttack vector: The attacker needs local access to the vulnerable system.ACLowAttack complexity: No specialised conditions are required beyond attacker-controlled input.PRLowPrivileges required: The attacker needs basic user-level privileges.UINoneUser interaction: No action by another user is required.SUnchangedScope: The security impact remains within the vulnerable component's authority.CNoneConfidentiality impact: No direct loss is represented by this metric.INoneIntegrity impact: No direct loss is represented by this metric.AHighAvailability impact: A successful attack can cause a major loss.
Post-exploitation / living off the land
The issue can support a local privilege or sandbox boundary transition; normal system utilities may then be available in the gained context.
CWE-908
A

Official authority intelligence

Only matched European and national findings are included. Language selectors and unavailable sources are omitted.

BSI · German · WID-SEC-W-2026-0349Dell Avamar und NetWorker: Mehrere Schwachstellen

Ein Angreifer kann mehrere Schwachstellen in Dell Avamar und Dell NetWorker ausnutzen, um Angriffe zu starten, die die Integrität, Vertraulichkeit und Verfügbarkeit von Systemen beeinträchtigen.

Official advisory
BSI · German · WID-SEC-W-2025-2053Linux Kernel: Mehrere Schwachstellen

Ein Angreifer kann mehrere Schwachstellen im Linux Kernel ausnutzen, um einen Denial of Service Angriff durchzuführen oder nicht näher beschriebene Auswirkungen zu erzielen.

Official advisory
CERT-FR · French · CERTFR-2026-AVI-0128Multiples vulnérabilités dans le noyau Linux de SUSE

Record?id=CVE-2022-0854 Référence CVE CVE-2022-1048 https://www.cve.org/CVERecord?id=CVE-2022-1048 Référence CVE CVE-2022-3303 https://www.cve.org/CVERecord?id=CVE-2022-3303 Référence CVE CVE-2022-48853 https://www.cve.org/CVERecord?id=CVE-2022-48853 Référence CVE CVE-2022-49272 https://www.cve.org/CVERecord?id=CVE-2022-49272 Référence CVE CVE-2022-49288 https://www.cve.org/CVERecord?id=CVE-2022-49288 Référence CVE CVE-2022-49291 https://www.cve.org/CVERecord?id=CVE-2022-49291 Référence CVE CVE-2022-49545 https://www.cve.org/CVERecord?id=CVE-2022-49545 Référence CVE CVE-2022-49733 https://www.cve.org/CVERecord?id=CVE-2022-49733 Référence CVE CVE-2022-50282 https://www.cve.org/CVERecord?id=CVE-2022-50282 Référence CVE CVE-2022-50623 https://www.cve.org/CVERecord?id=CVE-2022-50623 Référence CVE CVE-2022-50630 https://www.cve.org/CVERecord?id=CVE-2022-50630 Référence CVE CVE-2022-50635 https://www.cve.org/CVERecord?id=CVE-2022-50635 Référence CVE CVE-2022-50640 https://www.cve.org/CVERecord?id=CVE-2022-50640 Référence CVE CVE-2022-50641 https://www.cve.org/CVERecord?id=CVE-2022-50641 Référence CVE CVE-2022-50644 https://www.cve.org/CVERecord?id=CVE-2022-50644 Référence CVE CVE-2022-50646 https://www.cve.org/CVERecord?id=CVE-2022-50646 Référence CVE CVE-2022-50649 https://www.cve.org/CVERecord?id=

Official advisory
CERT-FR · French · CERTFR-2025-AVI-0921Multiples vulnérabilités dans le noyau Linux de SUSE

d?id=CVE-2022-50268 Référence CVE CVE-2022-50269 https://www.cve.org/CVERecord?id=CVE-2022-50269 Référence CVE CVE-2022-50271 https://www.cve.org/CVERecord?id=CVE-2022-50271 Référence CVE CVE-2022-50272 https://www.cve.org/CVERecord?id=CVE-2022-50272 Référence CVE CVE-2022-50275 https://www.cve.org/CVERecord?id=CVE-2022-50275 Référence CVE CVE-2022-50276 https://www.cve.org/CVERecord?id=CVE-2022-50276 Référence CVE CVE-2022-50277 https://www.cve.org/CVERecord?id=CVE-2022-50277 Référence CVE CVE-2022-50278 https://www.cve.org/CVERecord?id=CVE-2022-50278 Référence CVE CVE-2022-50279 https://www.cve.org/CVERecord?id=CVE-2022-50279 Référence CVE CVE-2022-50282 https://www.cve.org/CVERecord?id=CVE-2022-50282 Référence CVE CVE-2022-50286 https://www.cve.org/CVERecord?id=CVE-2022-50286 Référence CVE CVE-2022-50289 https://www.cve.org/CVERecord?id=CVE-2022-50289 Référence CVE CVE-2022-50294 https://www.cve.org/CVERecord?id=CVE-2022-50294 Référence CVE CVE-2022-50297 https://www.cve.org/CVERecord?id=CVE-2022-50297 Référence CVE CVE-2022-50298 https://www.cve.org/CVERecord?id=CVE-2022-50298 Référence CVE CVE-2022-50299 https://www.cve.org/CVERecord?id=CVE-2022-50299 Référence CVE CVE-2022-50301 https://www.cve.org/CVERecord?id=CVE-2022-50301 Référence CVE CVE-2022-50308 https://www.cve.org/CVERecord?id=

Official advisory
CERT-FR · French · CERTFR-2025-AVI-0895Multiples vulnérabilités dans le noyau Linux de SUSE

d?id=CVE-2022-50268 Référence CVE CVE-2022-50269 https://www.cve.org/CVERecord?id=CVE-2022-50269 Référence CVE CVE-2022-50271 https://www.cve.org/CVERecord?id=CVE-2022-50271 Référence CVE CVE-2022-50272 https://www.cve.org/CVERecord?id=CVE-2022-50272 Référence CVE CVE-2022-50275 https://www.cve.org/CVERecord?id=CVE-2022-50275 Référence CVE CVE-2022-50276 https://www.cve.org/CVERecord?id=CVE-2022-50276 Référence CVE CVE-2022-50277 https://www.cve.org/CVERecord?id=CVE-2022-50277 Référence CVE CVE-2022-50278 https://www.cve.org/CVERecord?id=CVE-2022-50278 Référence CVE CVE-2022-50279 https://www.cve.org/CVERecord?id=CVE-2022-50279 Référence CVE CVE-2022-50282 https://www.cve.org/CVERecord?id=CVE-2022-50282 Référence CVE CVE-2022-50285 https://www.cve.org/CVERecord?id=CVE-2022-50285 Référence CVE CVE-2022-50286 https://www.cve.org/CVERecord?id=CVE-2022-50286 Référence CVE CVE-2022-50287 https://www.cve.org/CVERecord?id=CVE-2022-50287 Référence CVE CVE-2022-50288 https://www.cve.org/CVERecord?id=CVE-2022-50288 Référence CVE CVE-2022-50289 https://www.cve.org/CVERecord?id=CVE-2022-50289 Référence CVE CVE-2022-50291 https://www.cve.org/CVERecord?id=CVE-2022-50291 Référence CVE CVE-2022-50292 https://www.cve.org/CVERecord?id=CVE-2022-50292 Référence CVE CVE-2022-50294 https://www.cve.org/CVERecord?id=

Official advisory
03

Patch and workaround

Operational remediation based on structured source evidence.

Status
?Patch availability is based on structured fixed-version fields and authoritative update references. If no fix is verified, check the vendor advisory before making a change.
Patch available
Affected
da97a80a657d1b1b50ef633e8ff5dbf0d417fc8d < 5d2146889fad4cb9e6c13e790d4cfd871486eca8; 233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 < 6acf8597c5b04f455ee0649e11e5f3bcd28f381e; 233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 < 34d17b39bceef25e4cf9805cd59250ae05d0a139; 233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 < d85b5247a79355b8432bfd9ac871f96117f750d4; 233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 < c46db6088bccff5115674d583fef46ede80077a2; 233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 < 28dc61cc49c6e995121c6d86bef4b73df78dda80; 233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 < b5de1eac71fec1af7723f1083d23a24789fd795c; 233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 < 85a5660491b507d33662b8e81c142e6041e642eb
Fixed
< 4.12; 4.9.337 ≤ 4.9.*; 4.14.303 ≤ 4.14.*; 4.19.270 ≤ 4.19.*; 5.4.229 ≤ 5.4.*; 5.10.163 ≤ 5.10.*; 5.15.86 ≤ 5.15.*; 6.0.16 ≤ 6.0.*
Action
Review the linked authoritative reference and apply the recorded fixed release appropriate to the affected product branch.
Workaround
No verified workaround is recorded. Limit untrusted access and use least privilege until authoritative guidance is available.
04

Evidence and provenance

Published 15 Sept 2025 · Last source change 23 May 2026, 15:24 UTC · CWE-908 · Use of Uninitialized Resource

CVE recordCVE.org · 5.2
CVSS sourceNIST NVD
EPSS source
?The date BlackTree first stored a score for this CVE from the daily FIRST EPSS feed.
FIRST · tracked since 2026-08-14
European sourceENISA EUVD · EUVD-2022-55573
Product sourceCNA
Remediation sourceCVE/CNA references
CWE sourceNIST NVD
NVD statusNVD enriched

Core structured fields are present and their contributing authorities are shown above.

Material change intelligence

What changed after publication

View recent updates →

No material field changes have been recorded since change tracking began. Routine source refreshes and cosmetic edits are intentionally excluded.

Material fields only · duplicate refreshes suppressed · history retained for the configured operational retention period
Technical terms and abbreviations used in this report
CVE
Common Vulnerabilities and Exposures: the public identifier for one disclosed vulnerability.
CVSS
Common Vulnerability Scoring System: a technical severity framework; it is not patching priority by itself.
EPSS
Exploit Prediction Scoring System: FIRST's estimate of the probability that exploitation activity will be observed in the next 30 days; it is a forecast, not confirmation.
CWE
Common Weakness Enumeration: the standard category describing the underlying software or hardware weakness.
CNA
CVE Numbering Authority: an organisation authorised to assign and publish CVE records.
CISA ADP
Cybersecurity and Infrastructure Security Agency Authorized Data Publisher: structured enrichment added to a CVE record.
NVD
National Vulnerability Database: NIST's enrichment service for CVE records.
CERT / CSIRT
A computer security incident response team that publishes warnings or coordinates incident response.
PoC
Proof of concept: public material that demonstrates or helps reproduce exploitation.
CSAF
Common Security Advisory Framework: a machine-readable format for security advisories.
LoTL
Living off the land: abuse of legitimate tools or system functions during an attack.
Free version - for non-commercial use only.CVE-2022-50282 · cve.blacktree.nl