{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2021-47249",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2021-47249",
    "idYear": 2021,
    "status": "PUBLISHED",
    "publishedAt": "2024-05-21T14:19:46.238Z",
    "updatedAt": "2026-05-11T13:50:50.679Z",
    "importedAt": "2026-10-24T01:56:36.661Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "net: rds: fix memory leak in rds_recvmsg",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: rds: fix memory leak in rds_recvmsg\n\nSyzbot reported memory leak in rds. The problem\nwas in unputted refcount in case of error.\n\nint rds_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,\n\t\tint msg_flags)\n{\n...\n\n\tif (!rds_next_incoming(rs, &inc)) {\n\t\t...\n\t}\n\nAfter this \"if\" inc refcount incremented and\n\n\tif (rds_cmsg_recv(inc, msg, rs)) {\n\t\tret = -EFAULT;\n\t\tgoto out;\n\t}\n...\nout:\n\treturn ret;\n}\n\nin case of rds_cmsg_recv() fail the refcount won't be\ndecremented. And it's easy to see from ftrace log, that\nrds_inc_addref() don't have rds_inc_put() pair in\nrds_recvmsg() after rds_cmsg_recv()\n\n 1)               |  rds_recvmsg() {\n 1)   3.721 us    |    rds_inc_addref();\n 1)   3.853 us    |    rds_message_inc_copy_to_user();\n 1) + 10.395 us   |    rds_cmsg_recv();\n 1) + 34.260 us   |  }",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "bdbe6fbc6a2f2ccfb384b141b257677d2a8d36fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8c3ec88b03e9e4ca117dcdc4204fd3edcd02084f"
            },
            {
              "version": "bdbe6fbc6a2f2ccfb384b141b257677d2a8d36fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "423c6939758fb3b9cf5abbd1e7792068a5c4ae8c"
            },
            {
              "version": "bdbe6fbc6a2f2ccfb384b141b257677d2a8d36fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1f79bc8ae81c05eb112a53f981cb2c244ee50d02"
            },
            {
              "version": "bdbe6fbc6a2f2ccfb384b141b257677d2a8d36fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "06b7cb0194bd1ede0dd27f3a946e7c0279fba44a"
            },
            {
              "version": "bdbe6fbc6a2f2ccfb384b141b257677d2a8d36fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2038cd15eacdf7512755c27686822e0052eb9042"
            },
            {
              "version": "bdbe6fbc6a2f2ccfb384b141b257677d2a8d36fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5946fbf48355f5a8caeff72580c7658da5966b86"
            },
            {
              "version": "bdbe6fbc6a2f2ccfb384b141b257677d2a8d36fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b25b60d076164edb3025e85aabd2cf50a5215b91"
            },
            {
              "version": "bdbe6fbc6a2f2ccfb384b141b257677d2a8d36fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "49bfcbfd989a8f1f23e705759a6bb099de2cff9f"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.30",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.30"
            },
            {
              "version": "4.4.274",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.4.*"
            },
            {
              "version": "4.9.274",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.9.*"
            },
            {
              "version": "4.14.238",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.196",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.128",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.46",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.12.13",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.12.*"
            },
            {
              "version": "5.13",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}