)]}'
{
  "commit": "77dd8477b7c52179bd0ccbbe009bd28c1ffd9149",
  "tree": "915e12fbea90d4fc39b5c373f027b5094d502fcc",
  "parents": [
    "718a346ee1b847127bf441c795a12a5753dfb048"
  ],
  "author": {
    "name": "Kyle Zeng",
    "email": "zengyhkyle@gmail.com",
    "time": "Tue Sep 05 15:04:09 2023 -0700"
  },
  "committer": {
    "name": "Nandhini Rengaraj",
    "email": "nrengaraj@google.com",
    "time": "Wed Oct 04 17:44:17 2023 +0000"
  },
  "message": "netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c\n\ncommit 050d91c03b28ca479df13dfb02bcd2c60dd6a878 upstream.\n\nThe missing IP_SET_HASH_WITH_NET0 macro in ip_set_hash_netportnet can\nlead to the use of wrong `CIDR_POS(c)` for calculating array offsets,\nwhich can lead to integer underflow. As a result, it leads to slab\nout-of-bound access.\nThis patch adds back the IP_SET_HASH_WITH_NET0 macro to\nip_set_hash_netportnet to address the issue.\n\nBUG\u003db/302920138\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dFix CVE-2023-42753 in the Linux Kernel.\n\ncos-patch: security-high\nFixes: 886503f34d63 (\"netfilter: ipset: actually allow allowable CIDR 0 in hash:net,port,net\")\nSuggested-by: Jozsef Kadlecsik \u003ckadlec@netfilter.org\u003e\nChange-Id: Id0cd6fac495b003bd6afc5502c999198f6937bb1\nSigned-off-by: Kyle Zeng \u003czengyhkyle@gmail.com\u003e\nAcked-by: Jozsef Kadlecsik \u003ckadlec@netfilter.org\u003e\nSigned-off-by: Florian Westphal \u003cfw@strlen.de\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\nSigned-off-by: Nandhini Rengaraj \u003cnrengaraj@google.com\u003e\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/58587\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Oleksandr Tymoshenko \u003covt@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "144346faffc13024d29e1de466eeb834165c97f4",
      "old_mode": 33188,
      "old_path": "net/netfilter/ipset/ip_set_hash_netportnet.c",
      "new_id": "b8ec2c414a5fbd8c8e11d7b1b485efdbc0b19225",
      "new_mode": 33188,
      "new_path": "net/netfilter/ipset/ip_set_hash_netportnet.c"
    }
  ]
}
