<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>BUG: kernel NULL pointer dereference, address</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85013/bug-kernel-null-pointer-dereference-address</link><description>Hey 
 
 When i disconnect my nRF5340-DK devkit to my Lenovo T14s Gen 2 running Ubuntu 20.04.3 LTS the usb driver in the linux kernel crashes. 
 
 I think it&amp;#39;s a problem that have occurred after i have installed updates to ubuntu. But when it started happening</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Feb 2022 15:16:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85013/bug-kernel-null-pointer-dereference-address" /><item><title>RE: BUG: kernel NULL pointer dereference, address</title><link>https://devzone.nordicsemi.com/thread/354401?ContentTypeID=1</link><pubDate>Tue, 22 Feb 2022 15:16:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f31b92f6-b22f-409c-a177-9a89e9ec0608</guid><dc:creator>PeterRasmussen</dc:creator><description>&lt;p&gt;Its a laptop so i did the test without anything connected &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUG: kernel NULL pointer dereference, address</title><link>https://devzone.nordicsemi.com/thread/354392?ContentTypeID=1</link><pubDate>Tue, 22 Feb 2022 14:37:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37b6bb75-f8cb-43de-9ac8-b9839724fdc7</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the update. Too bad the MSD workaround doesn&amp;#39;t work. We have multiple users of the same version of Ubuntu in-house, and do not see the issue here, which does point in the direction of the specific hardware of your laptop in combination with the given driver.&lt;/p&gt;
&lt;p&gt;One final thought: Have you added (or briefly used) any other USB devices to your system lately, that can somehow have led to a conflict?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUG: kernel NULL pointer dereference, address</title><link>https://devzone.nordicsemi.com/thread/354344?ContentTypeID=1</link><pubDate>Tue, 22 Feb 2022 12:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fd61de4-4876-4f76-af96-6581ed23da18</guid><dc:creator>PeterRasmussen</dc:creator><description>&lt;p&gt;Hey &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I actually have tried to disable MSDDisable and it does not seems to be the problem.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have also raised the same bug at Lenovo. I have also tried to submit the bug to Ubuntu but that was easier said than done and i dont know if i have submitted it correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUG: kernel NULL pointer dereference, address</title><link>https://devzone.nordicsemi.com/thread/354336?ContentTypeID=1</link><pubDate>Tue, 22 Feb 2022 12:36:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40ecce1b-9cb5-4e88-9e6d-2a3fab815703</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The Linux USB driver crashing on removing a USB device sounds like a Linux USB driver issue. It is hard to tell from our end what might be the issue there, and we are not able to reproduce locally using the same Ubuntu distribution. If you haven&amp;#39;t done so already, I recommend checking with Linux and/or Ubuntu forums / support in order to figure out what is the issue, or if it is a driver provided and supported by a hardware manufacturer contact them about the issue.&lt;/p&gt;
&lt;p&gt;From our side, one thing you could try is use J-Link Commander and issue the command &amp;quot;MSDDisable&amp;quot;, for disabling the Mass Storage Device functionality of the SEGGER interface MCU. If the driver issue is in any way related to the MSD functionality, then that might provide a workaround. The MSD functionality is not used for any of the standard workflows when working with nRF devices.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>