We are currently solving the following linux crash

- **Bug Title**: {title}  
- **Crash Report**:  
```  
{crash_report}  
```  

Below are some code segments, each from a relevant file. One or more of these files may contain bugs related to the linux crash.

--- BEGIN FILE ---
```
{agentless_context}
```
--- END FILE ---

Please first localize the bug based on the crash report, and then generate *SEARCH/REPLACE* edits to fix the crash.

Every *SEARCH/REPLACE* edit must use this format:
1. The file path
2. The start of search block: <<<<<<< SEARCH
3. A contiguous chunk of lines to search for in the existing source code
4. The dividing line: =======
5. The lines to replace into the source code
6. The end of the replace block: >>>>>>> REPLACE

Here is an example:

```c
### net/netfilter/core.c
<<<<<<< SEARCH
  nf_unregister_net_hook(ctx->net, &found->ops);
  list_del_rcu(&found->list);
  kfree_rcu(found, rcu);
  return;
=======
	if (n > 1) {{
		nf_unregister_net_hook(ctx->net, &found->ops);
		list_del_rcu(&found->list);
		kfree_rcu(found, rcu);
		return;
	}}
>>>>>>> REPLACE
```

If you need to have multiple edits in a single file or multiple files, you can do so by repeating the above format for each edit, but ensure that each edit is separated by a newline and follow the same format.

For example:
```c
### net/netfilter/core.c
<<<<<<< SEARCH
  nf_unregister_net_hook(ctx->net, &found->ops);
  list_del_rcu(&found->list);
  kfree_rcu(found, rcu);
  return;
=======
  if (n > 1) {{
    nf_unregister_net_hook(ctx->net, &found->ops);
    list_del_rcu(&found->list);
    kfree_rcu(found, rcu);
    return;
  }}
>>>>>>> REPLACE

### net/netfilter/nf_tables_api.c
<<<<<<< SEARCH
        list_for_each_entry(hook, hook_list, list)
                nf_unregister_net_hook(net, &hook->ops);
=======
        list_for_each_entry(hook, hook_list, list) {{
                if (hook->ops.dev)
                        nf_unregister_net_hook(net, &hook->ops);
        }}
>>>>>>> REPLACE
```

Please note that the *SEARCH/REPLACE* edit REQUIRES PROPER INDENTATION. If you would like to add the line '        print(x)', you must fully write that out, with all those spaces before the code!
Wrap the *SEARCH/REPLACE* edit in blocks ```c...```.
