View Issue Details

IDProjectCategoryView StatusLast Update
0008481Kali LinuxKali Package Bugpublic2024-06-14 15:14
Reporterdukpt Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionopen 
Summary0008481: nmap SEGV on wrong -p parameter
Description

Hi,

A segmentation violation fault happens on nmap when not proper assigning port numbers on -p parameter. Please check below:

nmap -6 -p 29180,29790,fd53
Starting Nmap 7.94 ( https://nmap.org ) at 2023-09-27 08:42 UTC
Segmentation fault

Activities

dukpt

dukpt

2023-09-27 09:28

reporter   ~0018515

$ gdb -q /usr/bin/nmap
Reading symbols from /usr/bin/nmap...
(No debugging symbols found in /usr/bin/nmap)
(gdb) set args -6 -p 29180,29790,fd53
(gdb) set pagination off
(gdb) r
Starting program: /usr/bin/nmap -6 -p 29180,29790,fd53
[Thread debugging using libthread_db enabled]
[New Thread 0x7ff590f0a0 (LWP 3244)]
[New Thread 0x7ff30ff0a0 (LWP 3245)]
[New Thread 0x7ff28ef0a0 (LWP 3246)]
Starting Nmap 7.94 ( https://nmap.org ) at 2023-09-27 08:42 UTC

Thread 1 nmap received signal SIGSEGV, Segmentation fault.
0x00000055555fb3c4 in wildtest(char const, char const) ()
(gdb) bt
0 0x00000055555fb3c4 in wildtest(char const, char const) ()
1 0x00000055555e8c70 in addportsfromservmask(char const, unsigned char, int) ()
2 0x00000055555dfbec in ?? ()
3 0x00000055555e0460 in getpts(char const, scan_lists) ()
4 0x00000055555e9178 in gettoppts(double, char const, scan_lists, char const*) ()
5 0x00000055555a3b48 in apply_delayed_options() ()
6 0x00000055555aa224 in nmap_main(int, char**) ()
7 0x00000055555855a8 in main ()
(gdb)

g0tmi1k

g0tmi1k

2024-06-14 15:14

administrator   ~0019438

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2023-09-27 09:27 dukpt New Issue
2023-09-27 09:28 dukpt Note Added: 0018515
2024-06-14 15:14 g0tmi1k Note Added: 0019438
2024-06-14 15:14 g0tmi1k Status new => closed