"value":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: fix memory corruption bug with suspend and rebuild\n\nThe ice driver would previously panic after suspend. This is caused\nfrom the driver *only* calling the ice_vsi_free_q_vectors() function by\nitself, when it is suspending. Since commit b3e7b3a6ee92 (\"ice: prevent\nNULL pointer deref during reload\")thedriverhaszeroedout\nnum_q_vectors,andonlyrestoreditinice_vsi_cfg_def().\n\nThisfurthercausestheice_rebuild()functiontoallocateazerolength\nbuffer,afterwhichnum_q_vectorsisupdated,andthenthenewvalueof\nnum_q_vectorsisusedtoindexintothezerolengthbuffer,which\ncorruptsmemory.\n\nThefixentailsmakingsureallthecodereferencingnum_q_vectorsonly\ndoessoafterithasbeenresetviaice_vsi_cfg_def().\n\nIdidn'tperformafullbisect,butIwasabletotestagainst6.1.77\nkernelandthaticedriverworksfineforsuspend/resumewithnopanic,\nsosometimesincethen,thisproblemwasintroduced.\n\nAlsocleanupanun-neededinitofalocalvariableinthefunction\nbeingmodified.\n\nPANICfrom6.8.0-rc1:\n\n[1026674.915596]PM:suspendexit\n[1026675.664697]ice0000:17:00.1:PTPresetsuccessful\n[1026675.664707]ice0000:17:00.1:2755msecspassedbetweenupdatetocachedPHCtime\n[1026675.667660]ice0000:b1:00.0:PTPresetsuccessful\n[1026675.675944]ice0000:b1:00.0:2832msecspassedbetweenupdatetocachedPHCtime\n[1026677.137733]ixgbe0000:31:00.0ens787:NICLinkisUp1Gbps,FlowControl:None\n[1026677.190201]BUG:kernelNULLpointerdereference,address:0000000000000010\n[1026677.192753]ice0000:17:00.0:PTPresetsuccessful\n[1026677.192764]ice0000:17:00.0:4548msecspassedbetweenupdatetocachedPHCtime\n[1026677.197928]#PF:supervisorreadaccessinkernelmode\n[1026677.197933]#PF:error_code(0x0000)-not-presentpage\n[1026677.197937]PGD1557a7067P4D0\n[1026677.212133]ice0000:b1:00.1:PTPresetsuccessful\n[1026677.212143]ice0000:b1:00.1:4344msecspassedbetweenupdatetocachedPHCtime\n[1026677.212575]\n[1026677.243142]Oops:0000[#1]PREEMPTSMPNOPTI\n[1026677.247918]CPU:23PID:42790Comm:kworker/23:0Kdump:loadedTainted:GW6.8.0-rc1+#1\n[1026677.257989]Hardwarename:IntelCorporationM50CYP2SBSTD/M50CYP2SBSTD,BIOSSE5C620.86B.01.01.0005.220216081002/16/2022\n[1026677.269367]Workqueue:iceice_service_task[ice]\n[1026677.274592]RIP:0010:ice_vsi_rebuild_set_coalesce+0x130/0x1e0[ice]\n[1026677.281421]Code:0f843affffff410fb774ec026689b02202000081e6ff1f0000e8ecfdffffe935ffffff488b43304963ed<41>0fb734244183c501488b3ce86689b7aa02000081e6\n[1026677.300877]RSP:0018:ff3be62a6399bcc0EFLAGS:00010202\n[1026677.306556]RAX:ff28691e28980828RBX:ff28691e41099828RCX:0000000000188000\n[1026677.314148]RDX:0000000000000000RSI:0000000000000010RDI:ff28691e41099828\n[1026677.321730]RBP:0000000000000000R08:0000000000000000R09:0000000000000000\n[1026677.329311]R10:0000000000000007R11:ffffffffffffffc0R12:0000000000000010\n[1026677.336896]R13:0000000000000000R14:0000000000000000R15:ff28691e0eaa81a0\n[1026677.344472]FS:0000000000000000(0000)GS:ff28693cbffc0000(0000)knlGS:0000000000000000\n[1026677.353000]CS:0010DS:0000ES:0000CR0:0000000080050033\n[1026677.359195]CR2:0000000000000010CR3:0000000128df4001CR4:0000000000771ef0\n[1026677.366779]DR0:0000000000000000DR1:0000000000000000DR2:0000000000000000\n[1026677.374369]DR3:0000000000000000DR6:00000000fffe0ff0DR7:0000000000000400\n[1026677.381952]PKRU:55555554\n[1026677.385116]CallTrace:\n[1026677.388023]<TASK>\n[1026677.390589]?__die+0x20/0x70\n[1026677.394105]?page_fault_oops+0x82/0x160\n[1026677.398576]?do_user_addr_fault+0x65/0x6a0\n[1026677.403307]?exc_page_fault+0x6a/0x150\n[1026677.407694]?asm_exc_page_fault+0x22/0x30\n[1026677.412349]?ice_vsi_rebuild_set_coalesce+0x130/0x1e0[ice]\n[1026677.4186\n---truncated---