Lucene search
+L

CVE-2022-50477 rtc: class: Fix potential memleak in devm_rtc_allocate_device()

🗓️ 04 Oct 2025 15:16:37Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 31 Views

Fix memory leak in devm_rtc_allocate_device by moving devm_add_action_or_reset before dev_set_name.

Related
Affected
Refs
ReporterTitlePublishedViews
Family
astralinux
AstraLinux
Astra Linux – Vulnerability in Linux 5.10
20 May 202605:53
–astralinux
bdu_fstec
BDU FSTEC
Linux Real Time Clock Heap Buffer Overflow DoS
26 Feb 202600:00
–bdu_fstec
cnnvd
CNNVD
Linux Kernel Security Vulnerabilities
4 Oct 202500:00
–cnnvd
cve
CVE
CVE-2022-50477
4 Oct 202515:16
–cve
debiancve
Debian CVE
CVE-2022-50477
4 Oct 202515:16
–debiancve
nvd
NVD
CVE-2022-50477
4 Oct 202516:15
–nvd
osv_clsa
osv_clsa
CLSA-2026-1783355084 kernel: Fix of 60 CVEs
21 Oct 202605:58
–osv_clsa
osv_debian
osv_debian
DEBIAN-CVE-2022-50477
4 Oct 202516:15
–osv_debian
osv_rhsa
osv_rhsa
RHSA-2023:6583 Red Hat Security Advisory: kernel security, bug fix, and enhancement update
16 Sep 202411:04
–osv_rhsa
osv_ubuntu
osv_ubuntu
UBUNTU-CVE-2022-50477
4 Oct 202516:15
–osv_ubuntu
Rows per page
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/rtc/class.c"
    ],
    "versions": [
      {
        "version": "24d23181e43d72ca692a479e70dfe5b0b5dd33f1",
        "lessThan": "0bcfc8fd3e596994f527b46730579428b3a4fa5f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "24d23181e43d72ca692a479e70dfe5b0b5dd33f1",
        "lessThan": "59457a0f079eae19aaf322b3cc1c8ba66f55c5f3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "24d23181e43d72ca692a479e70dfe5b0b5dd33f1",
        "lessThan": "60da73808298ff2cfa9f165d55eb3d7aa7078601",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/rtc/class.c"
    ],
    "versions": [
      {
        "version": "5.16",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.16",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.0.16",
        "lessThanOrEqual": "6.0.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.1.2",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.2",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation