)]}'
{
  "commit": "cf2b03d70c085364cc03f0b8a1f770b054cce832",
  "tree": "2d310a324e8c605b582f7123ff81055700ec1faf",
  "parents": [
    "dd05a1b4b5ae667ec409ba66e8e4852fe4e6a82f"
  ],
  "author": {
    "name": "Shay Drory",
    "email": "shayd@nvidia.com",
    "time": "Tue Dec 09 14:56:11 2025 +0200"
  },
  "committer": {
    "name": "Daniel Velasquez",
    "email": "rdvelasquez@google.com",
    "time": "Wed Jan 21 12:01:42 2026 -0800"
  },
  "message": "net/mlx5: fw_tracer, Validate format string parameters\n\n[ Upstream commit b35966042d20b14e2d83330049f77deec5229749 ]\n\nAdd validation for format string parameters in the firmware tracer to\nprevent potential security vulnerabilities and crashes from malformed\nformat strings received from firmware.\n\nThe firmware tracer receives format strings from the device firmware and\nuses them to format trace messages. Without proper validation, bad\nfirmware could provide format strings with invalid format specifiers\n(e.g., %s, %p, %n) that could lead to crashes, or other undefined\nbehavior.\n\nAdd mlx5_tracer_validate_params() to validate that all format specifiers\nin trace strings are limited to safe integer/hex formats (%x, %d, %i,\n%u, %llx, %lx, etc.). Reject strings containing other format types that\ncould be used to access arbitrary memory or cause crashes.\nInvalid format strings are added to the trace output for visibility with\n\"BAD_FORMAT: \" prefix.\n\nBUG\u003db/475792674\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dFixed CVE-2025-68816 in the Linux kernel.\n\ncos-patch: security-moderate\nFixes: 70dd6fdb8987 (\"net/mlx5: FW tracer, parse traces and kernel tracing support\")\nCloses: https://lore.kernel.org/netdev/hanz6rzrb2bqbplryjrakvkbmv4y5jlmtthnvi3thg5slqvelp@t3s3erottr6s/\nLink: https://patch.msgid.link/1765284977-1363052-4-git-send-email-tariqt@nvidia.com\nReported-by: Breno Leitao \u003cleitao@debian.org\u003e\nReviewed-by: Moshe Shemesh \u003cmoshe@nvidia.com\u003e\nChange-Id: I1c87a59cb74e2910b106055b98832e7391efcf03\nSigned-off-by: Shay Drory \u003cshayd@nvidia.com\u003e\nSigned-off-by: Tariq Toukan \u003ctariqt@nvidia.com\u003e\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/126402\nReviewed-by: Angel Adetula \u003cangeladetula@google.com\u003e\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "83a3074a725b12796355062b388f0e4022fe18be",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c",
      "new_id": "2ce900b18f7057b9951e56418c4af318ae1aaf5c",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c"
    },
    {
      "type": "modify",
      "old_id": "3ff412999a3e23cebd838d0f50a18d5deee8dc50",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h",
      "new_id": "c57c4f434c36a7efa8e68ec8e15ff326361db31c",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h"
    }
  ]
}
