)]}'
{
  "commit": "81ace28ca05d2326193cd658604becf09fc0b603",
  "tree": "6e09f3dd34aa4c2ed13b31ac5e31f8b0c6072069",
  "parents": [
    "c409014c90e96644c5d326df00c05a937ad998a2"
  ],
  "author": {
    "name": "Ke Wu",
    "email": "mikewu@google.com",
    "time": "Fri Apr 16 04:00:10 2021 -0700"
  },
  "committer": {
    "name": "Arnav Kansal",
    "email": "rnv@google.com",
    "time": "Tue Apr 20 19:15:56 2021 +0000"
  },
  "message": "netfilter: x_tables: fix compat match/target pad out-of-bound write\n\nxt_compat_match/target_from_user doesn\u0027t check that zeroing the area\nto start of next rule won\u0027t write past end of allocated ruleset blob.\n\nRemove this code and zero the entire blob beforehand.\n\nReported-by: syzbot+cfc0247ac173f597aaaa@syzkaller.appspotmail.com\nReported-by: Andy Nguyen \u003ctheflow@google.com\u003e\nFixes: 9fa492cdc160c (\"[NETFILTER]: x_tables: simplify compat API\")\nSigned-off-by: Florian Westphal \u003cfw@strlen.de\u003e\n\nBUG\u003db/184972413\nTEST\u003dPresubmit test\nRELEASE_NOTE\u003dFixd an issue in kernel that netfilter/x_tables.c\nmay cause out-of-bound write\nSOURCE\u003dFROMLIST(https://patchwork.ozlabs.org/project/netfilter-devel/patch/20210407193857.21120-1-fw@strlen.de/)\ncos-patch: security-high\n\nChange-Id: I2752c7c9eb17d48790adb6cebd0a7824b2c9f414\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/15631\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nMain-Branch-Verified: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Roy Yang \u003croyyang@google.com\u003e\nReviewed-by: Oleksandr Tymoshenko \u003covt@google.com\u003e\n(cherry picked from commit b6bcfb87a592c722322cd0907f59b0c019af70e7)\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/15790\nReviewed-by: Robert Kolchmeyer \u003crkolchmeyer@google.com\u003e\nTested-by: Robert Kolchmeyer \u003crkolchmeyer@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "12d242fedffdc24caca11849f846eaadc8df31e6",
      "old_mode": 33188,
      "old_path": "net/ipv4/netfilter/arp_tables.c",
      "new_id": "b75330b5b91a1810112281dab87492a223c0f647",
      "new_mode": 33188,
      "new_path": "net/ipv4/netfilter/arp_tables.c"
    },
    {
      "type": "modify",
      "old_id": "cbbc8a7b8278863e5ff6840c6d1726351aa18445",
      "old_mode": 33188,
      "old_path": "net/ipv4/netfilter/ip_tables.c",
      "new_id": "e33bbd78cceb683e9c4a86a297aefa32eca062fd",
      "new_mode": 33188,
      "new_path": "net/ipv4/netfilter/ip_tables.c"
    },
    {
      "type": "modify",
      "old_id": "01cdde25eb16d5675ae8054b2c6966938bfef829",
      "old_mode": 33188,
      "old_path": "net/ipv6/netfilter/ip6_tables.c",
      "new_id": "75f867aac688112c2cf37f2c4e3e755690ab993b",
      "new_mode": 33188,
      "new_path": "net/ipv6/netfilter/ip6_tables.c"
    },
    {
      "type": "modify",
      "old_id": "d1ef2d793073940ba64abf37a2821598fa8b8cd2",
      "old_mode": 33188,
      "old_path": "net/netfilter/x_tables.c",
      "new_id": "9d0ca8d82d6cc47ab949e25f098d2c209926cd20",
      "new_mode": 33188,
      "new_path": "net/netfilter/x_tables.c"
    }
  ]
}
