Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2021-47654

samples/landlock: Fix path_list memory leak

Description

In the Linux kernel, the following vulnerability has been resolved: samples/landlock: Fix path_list memory leak Clang static analysis reports this error sandboxer.c:134:8: warning: Potential leak of memory pointed to by 'path_list' ret = 0; ^ path_list is allocated in parse_path() but never freed.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • ba84b0bf5a164f0f523656c1e37568c30f3f3303 to < 20fbf100f84b9aeb9c91421abe1927bc152bc32baffected
  • ba84b0bf5a164f0f523656c1e37568c30f3f3303 to < 49b0d8bf05809df5f87e5c03e26d74bdfdab4571affected
  • ba84b0bf5a164f0f523656c1e37568c30f3f3303 to < 017196730299ccd6eed24bbfabed8af4ffd81530affected
  • ba84b0bf5a164f0f523656c1e37568c30f3f3303 to < 66b513b7c64a7290c1fbb88e657f7cece992e131affected

Linux Linux

Default version status: affected

  • 5.13affected
  • 0 to < 5.13unaffected
  • 5.15.33 to ≤ 5.15.*unaffected
  • 5.16.19 to ≤ 5.16.*unaffected
  • 5.17.2 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References